Last answered:

14 Jul 2022

Posted on:

12 Jul 2022

0

ORDER BY dm.dept_no DESC, e.emp_no;

what does the e.emp_no means that show after the DESC?

1 answers ( 0 marked as helpful)
Instructor
Posted on:

14 Jul 2022

0

Hi I-Cheng!
Thanks for reaching out.

This means that it is the second column in the ORDER BY clause. When the order of sorting is not specified, this means that the order is ascending. For example:
ORDER BY column_1;
is the same as
ORDER BY column_1 ASC;

Hope this helps.
Best,
Tsvetelin

Submit an answer