Resolved: confusion using group by and order by
in SQL / Using Aliases (AS)
does it is neccesary to use 'group by' with 'order by' always and vice-versa
1 answers ( 1 marked as helpful)
Thanks for reaching out.
No, it is not mandatory. The ORDER BY clause is simply to sort the result set.
Hope this helps.
Submit an answer
Why did you not do not null, primary key and auto increment for customer id in the solution?