试题详情
- 单项选择题 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; What is true about them?()
A、The two statements produce identical results.
B、The second statement returns a syntax error.
C、There is no need to specify DESC because the results are sorted in descending order by default.
D、The two statements can be made to produce identical results by adding a column alias for the salary column in the second SQL statement.
关注下方微信公众号,在线模考后查看

热门试题
- You need to create
- What is necessary fo
- Examine the structu
- Which SQL statement
- Which three SELECT s
- Which four are attri
- Examine the structu
- You need to modify t
- Examinethestructurei
- You need to give th
- Examinethedescriptio
- Evaluate this SQL s
- When should you crea
- Which three statemen
- Examine these state
- The EMP table conta
- TheEMPtablecontainst
- Evaluate this SQL s
- What are two reasons
- Which are /SQL*Plus