站内搜索
1Z0-047 问题列表
问题
单选题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.
问题
单选题View the Exhibit and examine the structure of the ORDERS table. Which task would require subqueries? ()A
displaying the total order value for sales representatives 161 and 163B
displaying the order total for sales representative 161 in the year 1999C
displaying the number of orders that have order mode online and order date in 1999D
displaying the number of orders whose order total is more than the average order total for all online orders
问题
单选题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 three statements are true regarding single-row functions?()AThey can accept only one argument.BThey can be nested up to only two levels.CThey can return multiple values of more than one data type.DThey can be used in SELECT, WHERE, and ORDER BY clauses.EThey can modify the data type of the argument that is referenced.FThey can accept a column name, expression, variable name, or a user-supplied constant as arguments.
问题
单选题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
问题
单选题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
问题
单选题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
问题
单选题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.
问题
单选题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 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
问题
单选题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
问题
多选题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
问题
多选题Which statements are correct regarding indexes? ()AWhen a table is dropped, the corresponding indexes are automatically dropped.BFor each DML operation performed, the corresponding indexes are automatically updated.CIndexes should be created on columns that are frequently referenced as part of an expression.DA non-deferrable PRIMARY KEY or UNIQUE KEY constraint in a table automatically creates a uniqueindex.
问题
多选题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