OCP 1Z0 051 156
来源:互联网 发布:照片自动合成软件 编辑:程序博客网 时间:2024/06/07 14:57
156. Evaluate the following SQL statement:
SQL> SELECT cust_id, cust_last_name "Last Name"
FROM customers
WHERE country_id = 10
UNION
SELECT cust_id CUST_NO, cust_last_name
FROM customers
WHERE country_id = 30;
Which ORDER BY clauses are valid for the above query? (Choose all that apply.)
A. ORDER BY 2,1
B. ORDER BY CUST_NO
C. ORDER BY 2,cust_id
D. ORDER BY "CUST_NO"
E. ORDER BY "Last Name"
上节刚做过试验。在这个语句中只能
order by 1
order by 2
order by cust_id
order by "Last Name"
其它统统都是错的
其实这样理解还容易些
Answer: ACE
SQL> SELECT cust_id, cust_last_name "Last Name"
FROM customers
WHERE country_id = 10
UNION
SELECT cust_id CUST_NO, cust_last_name
FROM customers
WHERE country_id = 30;
Which ORDER BY clauses are valid for the above query? (Choose all that apply.)
A. ORDER BY 2,1
B. ORDER BY CUST_NO
C. ORDER BY 2,cust_id
D. ORDER BY "CUST_NO"
E. ORDER BY "Last Name"
上节刚做过试验。在这个语句中只能
order by 1
order by 2
order by cust_id
order by "Last Name"
其它统统都是错的
其实这样理解还容易些
SELECT * FROM (SELECT cust_id, cust_last_name "Last Name" FROM customers WHERE country_id = 10 UNION SELECT cust_id cust_no, cust_last_name FROM customers WHERE country_id = 30);再在看后面order by 能跟什么?
Answer: ACE
0 0
- OCP 1Z0 051 156
- OCP 1Z0 052 156
- OCP 1Z0 053 156
- OCP 1Z0 051 1
- OCP 1Z0 051 2
- OCP 1Z0 051 3
- OCP 1Z0 051 4
- OCP 1Z0 051 5
- OCP 1Z0 051 6
- OCP 1Z0 051 7
- OCP 1Z0 051 8
- OCP 1Z0 051 9
- OCP 1Z0 051 10
- OCP 1Z0 051 11
- OCP 1Z0 051 12
- OCP 1Z0 051 13
- OCP 1Z0 051 14
- OCP 1Z0 051 15
- 初次jsp
- jQuery Mobile开发WebAPP系统文章
- IO之File类
- win7下eclipse全部背景色修改为豆沙绿保护眼睛方法
- 面向Windows的文件透明加解密解决方案(4)——客户端服务设计与功能实现
- OCP 1Z0 051 156
- 代理实现spring的AOP
- Deep Learning in NLP (一)词向量和语言模型
- ant安装、环境变量配置及验证
- jxl操作合并单元格复杂表头
- coredata的使用
- freebsd切入root的方法
- SpringMVC Service配置文件讲解
- Eclipse 下 javadoc 的使用