OCP11g+12c考试资料群:1015267481 验证码:ocp

OCP 071【中文】考试题库(cuug整理)第38题

本套题库是OCP考试中的071(中文版)试题,由CUUG整理,如有报考OCP认证意向,可以联系cuug咨询老师。

38、请选择两项。

SALES表具有数据类型为NUMBER的PROD_ID 和QUANTITY_SOLD 列。

哪两个查询将成功执行?

A) SELECT prod_id FROM sales WHERE quantity_sold > 55000 AND COUNT(*) > 10 GROUP BY prod_id HAVING COUNT(*) > 10;

B) SELECT COUNT(prod_id) FROM sales WHERE quantity_sold > 55000 GROUP BY prod_id;

C) SELECT COUNT(prod_id) FROM sales GROUP BY prod_id WHERE quantity_sold > 55000;

D) SELECT prod_id FROM sales WHERE quantity_sold > 55000 GROUP BY prod_id HAVING COUNT(*) > 10;

E) SELECT prod_id FROM sales WHERE quantity_sold > 55000 AND COUNT(*) > 10 GROUP BY COUNT(*) > 10;

posted @ 2021-06-10 10:00  cnblogs_5359  阅读(30)  评论(0编辑  收藏  举报