问题:单选题Evaluate the following statement: Which statement is true regarding the evaluation of rows returned by the subquery in the INSERT statement?()AThey are evaluated by all the three WHEN clauses regardless of the results of the evaluation of any other WHEN clause.BThey are evaluated by the first WHEN clause. If the condition is true, then the row would be evaluated by the subsequent WHEN clauses.CThey are evaluated by the first WHEN clause. If the condition is false, then the row would be evaluated by the subsequent WHEN clauses.DThe INSERT statement would give an error because the ELSE clause is not present for support in case none of the WHEN clauses are true.
查看答案
问题:单选题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?()AThe PRIMARY KEY is created along with a new index.BThe PRIMARY KEY is created and it would use an existing unique index.CThe PRIMARY KEY would be created in a disabled state because it is using an existing index.DThe statement produces an error because the USING clause is permitted only in the CREATE TABLE command.
问题:单选题Which statement is true regarding Flashback Version Query?()AIt returns versions of rows only within a transaction.BIt can be used in subqueries contained only in a SELECT statement.CIt will return an error if the undo retention time is less than the lower bound time or SCN specified.DIt retrieves all versions including the deleted as well as subsequently reinserted versions of the rows.
问题:单选题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? ()APivoting INSERTBUnconditional INSERTCConditional ALL INSERTDConditional FIRST INSERT
问题:单选题The user SCOTT who is the owner of ORDERS and ORDERJTEMS tables issues the following GRANT command: GRANT ALL ON orders, order_items TO PUBLIC; What correction needs to be done to the above statement? ()APUBLIC should be replaced with specific usernames.BALL should be replaced with a list of specific privileges.CWITH GRANT OPTION should be added to the statement.DSeparate GRANT statements are required for ORDERS and ORDERJTEMS tables.
问题:单选题Which statement is true regarding Flashback Version Query? ()AIt returns versions of rows only within a transaction.BIt can be used in subqueries contained only in a SELECT statement.CIt will return an error if the undo retention time is less than the lower bound time or SCN specified.DIt retrieves all versions including the deleted as well as subsequently reinserted versions of the rows.
问题:单选题View the Exhibit and examine the structure of the ORDERS table. Which task would require subqueries? ()Adisplaying the total order value for sales representatives 161 and 163Bdisplaying the order total for sales representative 161 in the year 1999Cdisplaying the number of orders that have order mode online and order date in 1999Ddisplaying the number of orders whose order total is more than the average order total for all online orders
问题:单选题Evaluate the following SQL statements that are issued in the given order: What would be the status of the foreign key EMP_MGR_FK?()AIt would be automatically enabled and deferred.BIt would be automatically enabled and immediate.CIt would remain disabled and has to be enabled manually using the ALTER TABLE command.DIt would remain disabled and can be enabled only by dropping the foreign key constraint and re-creating it.
问题:单选题EMPDET is an external table containing the columns EMPNO and ENAME. Which command would work in relation to the EMPDET table?()AABBCCDD
问题:单选题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?()AIt would be created only if a unique index is manually created first.BIt would be created and would use an automatically created unique index.CIt would be created and would use an automatically created nonunique index.DIt would be created and remains in a disabled state because no index is specified in the command.
问题:单选题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?()Axxx-xxx-xxxxB(xxx) xxxxxxxC(xxx) xxx-xxxxDxxx-(xxx)-xxxx
问题:多选题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 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.
问题:多选题Which three possible values can be set for the TIME_ZONE session parameter by using the ALTER SESSION command? ()AosBlocalC-8:00Ddbtimezone LiEAustralia