Millionaire Mode
databases Online Quiz - 98
Question 1 of 20
Evaluate these two SQL statements: SELECT last_name, salary , hire_date FROM EMPLOYEES ORDER BY salary DESC; SELECT last_name, salary, hire_date FROM EMPLOYEES ORDER BY 2 DESC;
- The two statements produce identical results.
- The second statement returns a syntax error.
- There is no need to specify DESC because the results are sorted in descending order by default.
- The two statements can be made to produce identical results by adding a column alias for the salary column in the second SQL statement.
Prize Money
15₹7 Crores
14₹1 Crore
13₹50,00,000
12₹25,00,000
11₹12,50,000
10₹6,40,000
9₹3,20,000
8₹1,60,000
7₹80,000
6₹40,000
5₹20,000
4₹10,000
3₹5,000
2₹2,000
1₹1,000