65.View the Exhibit and examine the structure of the CUSTOMERS table.
2016-03-02 10:26
405 查看
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
解析:题目说city降序,income level降序,C语法错误
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
解析:题目说city降序,income level降序,C语法错误
相关文章推荐
- java增加时间
- imx6solo wm8960始终没有声音输出
- mysql index 复习笔记
- Android 圆角图形和圆角头像的完美实现
- openGL在surfaceView中实例
- Profiler内存查看|Navmesh动态加载...
- 实现View滑动的方法总结
- @Autowired与@Resource
- 算法导论第三版习题8.1
- 64.View the Exhibit and examine the data in the PROMO_CATEGORY and PROMO_COST columns of
- 反射调用性能比较
- 页面可视区域
- 0302随笔
- Python爬虫入门一之综述
- Android Studio module里面放switch语句报错 R文件找不到
- iOS多线程之GCD的基本使用
- onActivityResult无响应,调用startActivityForResult就马上调用onActivityResult函数
- 2016-03-03 名句诗
- SPRING IN ACTION 第4版笔记-第二章WIRING BEANS-007-以set方法注入<property>\p-namespace\util-space
- asp.net+js实现批量编码与解码的方法