Last answered:

14 Nov 2022

Posted on:

12 Nov 2022

0

Resolved: How can we have result from below query (Count(First_name) in ascending / descending order ?

image.png

2 answers ( 1 marked as helpful)
Super learner
This user is a Super Learner. To become a Super Learner, you need to reach Level 8.
Posted on:

13 Nov 2022

0

Hi Shekhar Tanwar,

Refer to screen shot below - addition of ORDER BY.
This was taken a little further into the GROUP BY video @ 4:56 or thereabouts.
Hope this helps.
image.png

Kind regards,

Kev T.

Instructor
Posted on:

14 Nov 2022

0

Hi Shekhar and Kev!
Thanks for reaching out.

@: Kev
Thanks for sharing this piece of information with the Community!

@: Shekhar
You need to use the ORDER BY clause with the keyword ASC or DESC according to the case of sorting.
Note: If you do not specify the order with a keyword, the default one is ASC - ascending way.

Hope this helps.
Best,
Tsvetelin

Submit an answer