OCP 12c最新考试原题及答案(071-4)

4、(4-11) choose two:
View the Exhibit and examine the data in the PRODUCT_INFORMATION table.
Which two tasks would require subqueries? (Choose two.)

A) displaying all supplier IDs whose average list price is more than 500
B) displaying the total number of products supplied by supplier 102071 and having product status
OBSOLETE
C) displaying all the products whose minimum list prices are more than the average list price
of products having the product status orderable
D) displaying the number of products whose list prices are more than the average list price
E) displaying the minimum list price for each product status

Answer:CD
(解析:子查询用在查询未知的值。
C 的答案类似于:
SQL> select sal from emp where sal > (select avg(sal) from emp where job=‘SALESMAN‘);
D 的答案类似于:
SQL> select count(*) from emp where sal > (select avg(sal) from emp);

原文地址:http://blog.51cto.com/13854012/2349499

时间: 2024-10-09 09:07:16

OCP 12c最新考试原题及答案(071-4)的相关文章

OCP 12c最新考试原题及答案(071-5)

5.(4-12) choose two: You executed the following CREATE TABLE statement that resulted in an error: SQL> CREATE TABLE employees( emp_id NUMBER(10) PRIMARY KEY, ename VARCHAR2(20), email NUMBER(3) UNIQUE, address VARCHAR2(500), phone VARCHAR2 (20), resu

OCP 12c最新考试原题及答案(071-7)

7.(5-1) choose two:View the Exhibit and examine the structure of the PRODUCTS table.Which two tasks would require subqueries? A) Display the minimum list price for each product status.B) Display the total number of products supplied by supplier 102 a

【第39题】2019年OCP认证12C题库062考试最新考试原题

39题.choose two You configured the Fast Recovery Area (FRA) for your database. The database instance is in ARCHIVELOG mode. The default location for the archived redo log files is the FRA. Which two files are removed automatically if space is required

【OCP认证12c题库】CUUG 071题库考试原题及答案(25)

choose the best answer Evaluate the following SQL statement: ALTER TABLE hr.emp SET UNUSED (mgr_id); Which statement is true regarding the effect of the above SQL statement? A) Any views created on the EMP table that include the MGR_ID column would b

【OCP认证12c题库】CUUG 071题库考试原题及答案(26)

26.choose two Examine the structure of the PRODUCTS table. Which two statements are true? A) EXPIRY_DATE always stores date and time in character format B) PRICE can store a maximum of eight digits and two decimals. C) PRODUCT_PIC can store only vide

【OCP认证12c题库】CUUG 071题库考试原题及答案(28)

28.choose the best answer Evaluate the following SQL statement: SQL> SELECT promo_id, promo_category FROM promotions WHERE promo_category = 'Internet' ORDER BY 2 DESC UNION SELECT promo_id, promo_category FROM promotions WHERE promo_category = 'TV' U

【OCP认证12c题库】CUUG 071题库考试原题及答案(27)

27.choose two The SQL statements executed in a user session are as follows: SQL> CREATE TABLE product (pcode NUMBER(2), pname VARCHAR2(10)); SQL> INSERT INTO product VALUES (1, 'pen'); SQL> INSERT INTO product VALUES (2,'pencil'); SQL> SAVEPOI

【第33题】2019年OCP认证12C题库062考试最新考试原题-33

33.choose four Which four statements are true about the components of the Oracle Scheduler? A) A program and schedule can be specified as part of a job definition. B) A job may get started automatically when a window opens. C) A scheduler job can poi

【第34题】2019年OCP认证12C题库062考试最新考试原题-34

34.choose one You want to create a table, DAILY_ORDERS, for an OLTP application, where data should be compressed during both direct-path INSERT and conventional DML. The table will also be used for queries. Which compression option should be used? A)