1Z0-071 Sample Questions
1Z0-071 Sample Questions
1Z0-071 Sample Questions
1Z0-071
Answer: D
QUESTION: 65
Which statements are true regarding the WHERE and HAVING clauses in a
SELECT statement? (Choose all that apply.)
Answer: A, C
QUESTION: 66
Answer: B
Explanation:
INTERSECT Returns only the rows that occur in both queries’ result sets, sorting
them and removing duplicates. The columns in the queries that make up a
compound query can have different names, but the output result set will use the
names of the columns in the first query.
QUESTION: 67
View the Exhibit and examine the ORDERS table. The ORDERS table contains
data and all orders have been assigned a customer ID. Which statement would add
a NOT NULL constraint to the CUSTOMER_ID column?
Answer: B
QUESTION: 68
You want to display the member IDs, due date, and late fee as $2 for all
transactions. Which SQL statement must you execute?
A)
Exhibit
B)
Exhibit
C)
Exhibit
D)
Exhibit
A. Option A
B. Option B
C. Option C
D. Option D
Answer: C
QUESTION: 69
View the Exhibit and examine the structure of ORDERS and ORDER_ITEMS
tables. ORDER ID is the primary key in the ORDERS table. It is also the
foreign key in the ORDER_ITEMS table wherein it is created with the ON
DELETE CASCADE option.
Which DELETE statement would execute successfully?
B. DELETE orders
Answer: B
QUESTION: 70
You want to display 5 percent of the rows from the sales table for products with
the lowestAMOUNT_SOLD and also want to include the rows that have the
sameAMOUNT_SOLDeven if this causes the output to exceed 5 percent of the
rows. Which query willprovide the required result?
QUESTION: 71
The following are the steps for a correlated subquery, listed in random order:
2) The candidate row is fetched from the table specified in the outer query.
3) The procedure is repeated for the subsequent rows of the table, till all the rows
are processed.
4) Rows are returned by the inner query, after being evaluated with the value from
the candidate row in the outer query. Identify the option that contains the steps in
the correct sequence in which the Oracle server evaluates a correlated subquery.
A. 4,2,1,3
B. 4,1,2,3
C. 2,4,1,3
D. 2,1,4,3
Answer: C
QUESTION: 72
Answer: C
QUESTION: 73
View the Exhibit and examine the data in ORDERS and ORDER_ITEMS tables.
You need to create a view that displays the ORDER ID, ORDER_DATE, and the
GROUP BY o.order_id,o.order_date;
GROUP BY o.order_id,o.order_date;
o.order_id,o.order_date;
Answer: B
For More exams visit http://killexams.com