欢迎来到在线考试题库网 在线考试题库官网
logo
全部科目 > Oracle认证考试 > 1Z0-007

单项选择题

Evaluate these two SQL statements: SELECT last_name, salary, hire_dateFROM EMPLOYEES ORDRE BY salary DESC; SELECT last_name, salary, hire_dateFROM EMPOLYEES 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.

点击查看答案

相关考题

微信小程序免费搜题
微信扫一扫,加关注免费搜题

微信扫一扫,加关注免费搜题