Skip to content

Subquery without aggregation #676

@yaitskov

Description

@yaitskov

Looking for a way to express following query:

select
  (select * from t order by ts desc limit 1),
  (select * from t order by ts asc limit 1),
  (select count(*) from t) as nnn
  

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions