← Quiz: Filtering and Sorting: all 10 questions
Quiz: Filtering and Sorting · Question 10 of 10
What does ORDER BY salary DESC, name ASC do when two employees have the same salary?
What does ORDER BY salary DESC, name ASC do when two employees have the same salary?
- A.It puts them in alphabetical order of name
- B.It removes one of them
- C.It keeps them in random order always
- D.It sorts them by name in reverse
Answer & explanation
Correct answer: It puts them in alphabetical order of name
The second column breaks ties in the first.
Can you get the rest right without peeking?
Take the timed Quiz: Filtering and Sorting quiz free. Pass it to earn XP and count towards your certificate.
Start the quiz →