134. Where can subqueries be used? (Choose all that apply.)
A. field names in the SELECT statement 标量子查询
B. the FROM clause in the SELECT statement 内联视图
C. the HAVING clause in the SELECT statement select的having子句
D. the GROUP BY clause in the SELECT statement
E. the WHERE clause in only the SELECT statement
F. the WHERE clause in SELECT as well as all DML statements select的where子句与所有的DML操作。
Answer: ABCF
答案解析:
参考:http://blog.csdn.net/rlhua/article/details/12879585
A,SELECT语句中的字段名称
B,SELECT语句的FROM子句中
C,SELECT语句的HAVING子句中
D,SELECT语句的GROUP BY子句中,不行
E,只能用于WHERE子句,错误,还可以用在HAVING和FROM子句。
F,SELECT与DML语句的WHERE子句中