Sail E0 Webinar
Question
If emp_id contain the following set {-1, -2, 2, 3, -3, 1}, what will be the output on execution of the given query?SELECT emp_idFROM personORDER BY emp_id;
Options:
A .  {-3, -2, -1, 1, 2, 3}
B .  {-1, 1, -2, 2, -3, 3}
C .  {1, 2, 3, -1, -2, -3}
D .  None of the mentioned
Answer: Option A


"ORDER BY clause sort the emp_id in the result set.



Was this answer helpful ?
Next Question

Submit Solution

Your email address will not be published. Required fields are marked *

Latest Videos

Latest Test Papers