Skip to content

use group by and order by together #114

@huangyingjie

Description

@huangyingjie

hello,

Here is an example:

select avg(weight) as w , age from person group by age order by w desc;

I have get the result by using 'group by',and next what about to use 'order by' together?

And more complex,adding "where" after "from":

select avg(weight) as w , age from person where country='US' group by age order by w desc;

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions