ITPub博客

首页 > 数据库 > Oracle > OCP 1Z0-051-65

OCP 1Z0-051-65

原创 Oracle 作者:LuiseDalian 时间:2014-05-15 07:31:42 0 删除 编辑
(65)View the Exhibit and examine the structure of the CUSTOMERS table.

You have been asked to produce a report on the CUSTOMERS table showing the customers details sorted in descending order of the city and in the descending order of their income level in each city. Which query would accomplish this task?


A.

SELECT cust_city, cust_income_level, cust_last_name

FROM customers

ORDER BY cust_city desc, cust_income_level DESC ;

B.

SELECT cust_city, cust_income_level, cust_last_name

FROM customers

ORDER BY cust_income_level desc, cust_city DESC;

C.

SELECT cust_city, cust_income_level, cust_last_name

FROM customers

ORDER BY (cust_city, cust_income_level) DESC;

D.

SELECT cust_city, cust_income_level, cust_last_name

FROM customers

ORDER BY cust_city, cust_income_level DESC;


答案:(A)

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/17013648/viewspace-1161533/ ,如需转载,请注明出处,否则将追究法律责任。

上一篇: OCP 1Z0-051-66
下一篇: OCP 1Z0-051-62
请登录后发表评论 登录
全部评论

注册时间:2012-02-06

  • 博文量
    1986
  • 访问量
    6043825