|
Question 1. Which three possible values can be set for the TIME_ZONE session parameter by using the ALTER SESSION command? (Choose three.) A. 'os' B. local C. -8:00' D. dbtimezone Li E. 'Australia' Answer: B, C, D Explanation: Question 2. EMPDET is an external table containing the columns EMPNO and ENAME. Which command would work in relation to the EMPDET table? A. UPDATE empdet SET ename ='Amit' WHERE empno = 1234; B. DELETE FROM empdet WHERE ename LIKE 'J%'; C. CREATE VIEWempvu AS SELECT* FROMempdept; D. CREATEINDEX empdet_dx ON empdet(empno); Answer: C Explanation: Question 3. Which three tasks can be performed using regular expression support in Oracle Database 10g? (Choose three.) A. it can be used to concatenate two strings. B. it can be used to find out the total length of the string. C. it can be used for string manipulation and searching operations. D. it can be used to format the output for a column or expression having string data. E. it can be used to find and replace operations for a column or expression having string data. Answer: C, D, E Explanation: Question 4. Which three statements are true regarding single-row functions? (Choose three.) A. They can accept only one argument. B. They can be nested up to only two levels. C. They can return multiple values of more than one data type. D. They can be used in SELECT, WHERE, and ORDER BY clauses. E. They can modify the data type of the argument that is referenced. F. They can accept a column name, expression, variable name, or a user-supplied constant as arguments. Answer: D, E, F Explanation: Question 5. 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. Answer: D Explanation: Question 6. Which two statements are true regarding the execution of the correlated subqueries? (Choose two.) A. The nested query executes after the outer query returns the row. B. The nested query executes first and then the outer query executes. C. The outer query executes only once for the result returned by the inner query. D. Each row returned by the outer query is evaluated for the results returned by the inner query. Answer: A, D Explanation: Question 7. 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. Itwould becreated only if a unique index is manually created first. B. Itwould becreated andwould use an automatically created unique index. C. It would be createdandwould use an automaticallycreatednonunique index. D. Itwouldbecreated and remainsinadisabledstatebecauseno indexis specified in the command. Answer: B Explanation: Question 8. View the Exhibit and examine the data in the PRODUCT INFORMATION table. Which two tasks would require subqueries? (Choose two.) A. displaying the minimum list price for each product status B. displaying all supplier IDs whose average list price is more than 500 C. displaying the number of products whose list prices are more than the average list price D. displaying all the products whose minimum list prices are more than the average list price of products having the product status orderable E. displaying the total number of products supplied by supplier 102071 and having product status OBSOLETE Answer: C, D Explanation: Question 9. Which statement best describes the GROUPING function? A. It is used to set the order for the groups to be used for calculating the grand totals and subtotals. B. It is used to form various groups to calculate total and subtotals created using ROLLUP and CUBE operators. C. It is used to identify if the NULL value in an expression is a stored NULL value or created by ROLLUP or CUBE. D. It is used to specify the concatenated group expressions to be used for calculating the grand totals and subtotals. Answer: C Question 10. Evaluate the following statement: INSERT ALL WHEN order_total < 10000 THEN INTO small_orders WHEN order_total > 10000 AND order_total < 20000 THEN INTO medium_orders WHEN order_total > 2000000 THEN INTO large_orders SELECT order_id, order_total, customer_id FROM orders; Which statement is true regarding the evaluation of rows returned by the subquery in the INSERT statement? A. They areevaluatedby allthe three WHENclauses regardlessofthe resultsof the evaluation of any other WHEN clause. B. They are evaluated by thefirst WHENclause. 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 isfalse,thenthe row wouldbeevaluated by the subsequentWHENclauses. D. TheINSERT statement would give an error becausetheELSE clause is notpresent forsupport in case none of theWHENclauses are true. Answer: A Explanation:
Copyright © 2004 CertsBraindumps.com Inc. All rights reserved.