1Z0 071 Questions
1Z0 071 Questions
1Z0 071 Questions
1Z0-071 Exam
Oracle Database SQL Exam
Version: 16.0
Question: 1
Answer: A,B,D
Explanation:
Using the ORDER BY Clause in Set Operations
-The ORDER BY clause can appear only once at the end of the compound query.
-Component queries cannot have individual ORDER BY clauses.
-The ORDER BY clause recognizes only the columns of the first SELECT query.
-By default, the first column of the first SELECT query is used to sort the output in an ascending order.
Question: 2
Which three statements are true regarding the WHERE and HAVING clauses in a SQL statement? (Choose
three.)
Answer: B,D,E
Questions & Answers PDF Page 4
Question: 3
View the exhibit and examine the description of the PRODUCT_INFORMATION table.
Which SQL statement would retrieve from the table the number of products having LIST_PRICE as NULL?
Answer: B
Question: 4
Which two statements are true about Data Manipulation Language (DML) statements? (Choose two.)
A. An INSERT INTO...VALUES.. statement can add multiple rows per execution to a table.
B. An UPDATE... SET... statement can modify multiple rows based on multiple conditions on a table.
C. A DELETE FROM..... statement can remove rows based on only a single condition on a table.
D. An INSERT INTO... VALUES..... statement can add a single row based on multiple conditions on a table.
E. A DELETE FROM..... statement can remove multiple rows based on multiple conditions on a table.
F. An UPDATE....SET.... statement can modify multiple rows based on only a single condition on a table.
Questions & Answers PDF Page 5
Answer: B,E
Explanation:
http://www.techonthenet.com/sql/and_or.php
Question: 5
Answer: B,E
Explanation:
http://docs.oracle.com/cd/E25054_01/network.1111/e16543/authorization.htm#autoId28
Question: 6
Answer: C,D
Question: 7
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 WHEN clauses are true.
Answer: A
Explanation:
http://psoug.org/definition/WHEN.htm
Question: 8
You want to display details of all members who reside in states starting with the letter A followed by
exactly one character.
Which SQL statement must you execute?
Questions & Answers PDF Page 7
Answer: B
Question: 9
A. Line 5
B. Line 3
C. Line 7
D. Line 8
Answer: B
Question: 10
A. It fails because the alias name specified after the column names is invalid.
B. It fails because the space specified in single quotation marks after the first two column names is
invalid.
C. It executes successfully and displays the column details in a single column with only the alias column
heading.
D. It executes successfully and displays the column details in three separate columns and replaces only
the last column heading with the alias.
Answer: D