站内搜索
1Z0-047 问题列表
问题 单选题View the Exhibit and examine the structure of the ORDERS and ORDERJTEMS tables.  Evaluate the following SQL statement:   SELECT oi.order_id, product_jd, order_date   FROM order_items oi JOIN orders o   USING (order_id);   Which statement is true regarding the execution of this SQL statement?()A  The statement would not execute because table aliases are not allowed in the JOIN clause.B  The statement would not execute because the table alias prefix is not used in the USING clause.C  The statement would not execute because all the columns in the SELECT clause are not prefixed with table aliases.D  The statement would not execute because the column part of the USING clause cannot have a qualifier in the SELECT list.

问题 单选题Evaluate the CREATE TABLE statement:   CREATE TABLE products   (product_id NUMBER (6)  CONSTRAINT prod_id_pk PRIMARY KEY,  product_name VARCHAR2 (15));   Which statement is true regarding the PROD_ID_PK constraint?()A  It would be created only if a unique index is manually created first.B  It would be created and would use an automatically created unique index.C  It would be created and would use an automatically created nonunique index.D  It would be created and remains in a disabled state because no index is specified in the command.

问题 单选题EMPDET is an external table containing the columns EMPNO and ENAME.   Which command would work in relation to the EMPDET table?()A AB BC CD D

问题 单选题View the Exhibit and examine the details of the EMPLOYEES table.  The query was written to format the PHONE_NUMBER for the employees.   Which option would be the correct format in the output?()A  xxx-xxx-xxxxB  (xxx) xxxxxxxC  (xxx) xxx-xxxxD  xxx-(xxx)-xxxx

问题 单选题Evaluate the following statement:   Which statement is true regarding the evaluation of rows returned by the subquery in the INSERT statement?()A  They are evaluated by all the three WHEN clauses regardless of the results of the evaluation of any other WHEN clause.B  They are evaluated by the first WHEN clause. If the condition is true, then the row would be evaluated by the subsequent WHEN clauses.C  They are evaluated by the first WHEN clause. If the condition is false, then the row would be evaluated by the subsequent WHEN clauses.D  The INSERT statement would give an error because the ELSE clause is not present for support in case none of the WHEN clauses are true.

问题 多选题Which two statements are true regarding the execution of the correlated subqueries?()AThe nested query executes after the outer query returns the row.BThe nested query executes first and then the outer query executes.CThe outer query executes only once for the result returned by the inner query.DEach row returned by the outer query is evaluated for the results returned by the inner query.

问题 单选题The details of the order ID, order date, order total, and customer ID are obtained from the ORDERS table. If the order value is more than 30000, the details have to be added to the LARGEjDRDERS table. The order ID, order date, and order total should be added to the ORDERJHISTORY table, and order ID and customer ID should be added to the CUSTJHISTORY table.   Which multitable INSERT statement would you use? ()A  Pivoting INSERTB  Unconditional INSERTC  Conditional ALL INSERTD  Conditional FIRST INSERT

问题 多选题View the Exhibit and examine the data in the PRODUCT INFORMATION table. Which two tasks would require subqueries? ()Adisplaying the minimum list price for each product statusBdisplaying all supplier IDs whose average list price is more than 500Cdisplaying the number of products whose list prices are more than the average list priceDdisplaying all the products whose minimum list prices are more than the average list price of products having the product status orderableEdisplaying the total number of products supplied by supplier 102071 and having product status OBSOLETE

问题 多选题Which three possible values can be set for the TIME_ZONE session parameter by using the ALTER SESSION command? ()AosBlocalC-8:00Ddbtimezone LiEAustralia

问题 单选题Which statement is true regarding Flashback Version Query?()A  It returns versions of rows only within a transaction.B  It can be used in subqueries contained only in a SELECT statement.C  It will return an error if the undo retention time is less than the lower bound time or SCN specified.D  It retrieves all versions including the deleted as well as subsequently reinserted versions of the rows.

问题 单选题View the Exhibit and examine the structure of the EMP table. You executed the following command to add a primary key to the EMP table:   ALTER TABLE emp   ADD CONSTRAINT emp_id_pk  PRIMARY KEY (emp_id)   USING INDEX emp_id_idx;   Which statement is true regarding the effect of the command?()A  The PRIMARY KEY is created along with a new index.B  The PRIMARY KEY is created and it would use an existing unique index.C  The PRIMARY KEY would be created in a disabled state because it is using an existing index.D  The statement produces an error because the USING clause is permitted only in the CREATE TABLE command.

问题 多选题Which three possible values can be set for the TIME_ZONE session parameter by using the ALTER SESSION command?()A’os’BlocalC-8:00’Ddbtimezone LiE’Australia’

问题 单选题View the Exhibit and examine the data in ORDERS_MASTER and MONTHLYjDRDERS tables. What would be the outcome of the above statement?()A  The ORDERS_MASTER table would contain the ORDERJDs 1 and 2.B  The ORDERS_MASTER table would contain the ORDERJDs 1, 2 and 3.C  The ORDERS_MASTER table would contain the ORDERJDs 1, 2 and 4.D  The ORDERS MASTER table would contain the ORDER IDs 1, 2, 3 and 4.

问题 单选题Evaluate the following SQL statements that are issued in the given order:  What would be the status of the foreign key EMP_MGR_FK?()A  It would be automatically enabled and deferred.B  It would be automatically enabled and immediate.C  It would remain disabled and has to be enabled manually using the ALTER TABLE command.D  It would remain disabled and can be enabled only by dropping the foreign key constraint and re-creating it.

问题 单选题Evaluate the following statement:   Which statement is true regarding the evaluation of rows returned by the subquery in the INSERT statement?()A  They are evaluated by all the three WHEN clauses regardless of the results of the evaluation of any other WHEN clause.B  They are evaluated by the first WHEN clause. If the condition is true, then the row would be evaluated by the subsequent WHEN clauses.C  They are evaluated by the first WHEN clause. If the condition is false, then the row would be evaluated by the subsequent WHEN clauses.D  The INSERT statement would give an error because the ELSE clause is not present for support in case none of the WHEN clauses are true.