可学答题网 > 问答 > 1Z0-007题库
目录: 标题| 题干| 答案| 搜索| 相关
问题

Evaluate these two SQL statements: SE


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.
参考答案
参考解析:
分类:1Z0-007题库
相关推荐

1、Evaluate the SQL statement: What is

Evaluate the SQL statement:What is the result of the statement?()A The statement produces an error at line 1.B The statement produces an erro...

2、Evaluate this SQL statement: In the

Evaluate this SQL statement:In the statement, which capabilities of a SELECT statement are performed?()A Selection, projection, joinB Difference,...

3、Evaluate these two SQL statements: W

Evaluate these two SQL statements:What is true about them?()A The two statements produce identical results.B The second statement returns a syn...

4、Evaluate the SQL statement DROP TABLE

Evaluate the SQL statement DROP TABLE DEPT: Which four statements are true of the SQL statement? ()A You cannot roll back this statement.B A...

5、Evaluate this SQL statement: SELECT e.

Evaluate this SQL statement: SELECT e.EMPLOYEE_ID,e.LAST_NAME,e.DEPARTMENT_ID, d.DEPARTMENT_NAME FROM EMP e, DEPARTMENT d WHERE e.DEPARTMENT_ID = d.DE...

6、Evaluate the SQL statement: What wil

Evaluate the SQL statement:What will be displayed?()A 0B 1C 0.00D An error statement