Exam 12: Subqueries and Merge Statements
Exam 1: Overview of Database Concepts108 Questions
Exam 2: Basic SQL Select Statements121 Questions
Exam 3: Table Creation and Management136 Questions
Exam 4: Constraints132 Questions
Exam 5: Data Manipulation and Transaction Control136 Questions
Exam 6: Additional Database Objects138 Questions
Exam 7: User Creation and Management130 Questions
Exam 8: Restricting Rows and Sorting Data132 Questions
Exam 9: Joining Data From Multiple Tables119 Questions
Exam 10: Selected Single-Row Functions133 Questions
Exam 11: Group Functions137 Questions
Exam 12: Subqueries and Merge Statements131 Questions
Exam 13: Views133 Questions
Select questions type
A(n)____________________ subquery can return only one row of results to the outer query.
Free
(Short Answer)
4.8/5
(29)
Correct Answer:
single-row
single row
In Oracle12c,subqueries in a WHERE clause can be nested to a depth of 2._________________________
Free
(True/False)
4.9/5
(33)
Correct Answer:
False
The ____________________ operator indicates that a value must be more than the highest value returned by the subquery.
Free
(Short Answer)
4.8/5
(45)
Correct Answer:
>ALL
A(n)uncorrelated subquery is when the outer query is executed first,then the inner query is executed._________________________
(True/False)
4.8/5
(27)
A single-row subquery can be nested in the SELECT clause of the outer function.
(True/False)
4.7/5
(45)
The greater than operator,>,is a valid operator for multiple-row subqueries._________________________
(True/False)
4.8/5
(25)
A subquery,except one in the FROM clause,cannot contain a(n)____________________ clause.
(Short Answer)
4.8/5
(41)
A single-row subquery can return several columns,but only one row,of results to the outer query.
(True/False)
4.8/5
(30)
The IN operator can be used with single-row,multiple-row,or multiple-column subqueries._________________________
(True/False)
4.9/5
(40)
Contents of the BOOKS table
-Based on the contents of the BOOKS table,which line of the following SQL statement contains an error?
1 SELECT isbn,title
2 FROM books
3 WHERE pubid =
4 (SELECT pubid
5 FROM books
6 WHERE title = 'SHORTEST POEMS')
7 AND retail-cost >
8 (SELECT AVG(retail-cost)
9 FROM books);

(Multiple Choice)
4.7/5
(33)
Which operator will instruct Oracle12c to list all records with a value that is more than the highest value returned by the subquery?
(Multiple Choice)
5.0/5
(26)
A correlated subquery is one in which the inner query is executed first,and then the outer query is executed.
(True/False)
4.8/5
(37)
When used with a multiple-row subquery,the IN operator indicates that the records processed by the outer query must match one of the values returned by the subquery.
(True/False)
5.0/5
(38)
A(n)correlated subquery is when the outer query is executed first,and then the inner query is executed._________________________
(True/False)
4.8/5
(37)
A(n)outer query is also referred to as a parent query._________________________
(True/False)
4.8/5
(26)
A subquery,except one in the FROM clause,cannot contain a(n)____ clause.
(Multiple Choice)
4.7/5
(40)
Showing 1 - 20 of 131
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)