Question:Examine the two SQL statements given below:
SELECT last_name, salary, hire_date FROM EMPLOYEES ORDER BY salary DESC

SELECT last_name, salary, hire_date FROM EMPLOYEES ORDER BY 2 DESC
What is true about them? 

A The two statements produce identical results 

B The second statement returns an error 

C There is no need to specify DESC because the results are sorted in descending order by default 

D None of the statments is correct 

+ Answer
+ Report
Total Preview: 3895

Copyright © 2024. Powered by Intellect Software Ltd