Exam 12: Subqueries and Merge Statements
Exam 1: Overview of Database Concepts108 Questions
Exam 2: Basic Sql Select Statements122 Questions
Exam 3: Table Creation and Management132 Questions
Exam 4: Constraints132 Questions
Exam 5: Data Manipulation and Transaction Control132 Questions
Exam 6: Additional Database Objects132 Questions
Exam 7: User Creation and Management132 Questions
Exam 8: Restricting Rows and Sorting Data132 Questions
Exam 9: Joining Data From Multiple Tables131 Questions
Exam 10: Selected Single Row Functions133 Questions
Exam 11: Group Functions134 Questions
Exam 12: Subqueries and Merge Statements132 Questions
Exam 13: Views133 Questions
Select questions type
Multiple-row subqueries are nested queries that can return more than one row of results to the parent query.
(True/False)
4.8/5
(29)
The results of a subquery are passed back as input to the ____ query.
(Multiple Choice)
4.8/5
(36)
A(n) correlated subquery references one or more columns the outer query. _________________________
(True/False)
4.8/5
(38)
Which operators can be combined with other comparison operators to treat the results of a subquery as a set of values, rather than as individual values?
(Multiple Choice)
4.9/5
(38)
A subquery nested in a SELECT clause cannot contain an ORDER BY clause.
(True/False)
4.8/5
(32)
Which of the following must be used to separate a subquery from the outer query?
(Multiple Choice)
4.7/5
(37)
Contents of the BOOKS table
-Based on the contents of the BOOKS table, which line in the following SQL statement contains an error? 1 SELECT title
2 FROM books
3 WHERE pubid EXISTS IN
4 (SELECT pubid
5 FROM books
6 WHERE retail > 41.95);

(Multiple Choice)
4.9/5
(33)
A(n) ____ subquery is one that can return several rows of results.
(Multiple Choice)
4.9/5
(37)
In Oracle11g, subqueries in a WHERE clause can be nested to a depth of . _________________________
(True/False)
4.9/5
(35)
The operator can be used with single-row, multiple-row, or multiple-column subqueries. _________________________
(True/False)
4.7/5
(33)
When a multiple-column subquery is used in the WHERE clause of the outer query, the column names listed on the left side of the comparison operator must be enclosed in . _________________________
(True/False)
4.9/5
(39)
Which operator will instruct Oracle11g to list all records with a value that is more than the highest value returned by the subquery?
(Multiple Choice)
4.9/5
(35)
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.9/5
(31)
The <ALL operator indicates that for a value to be included in the results, it must be less than the lowest value returned by the subquery.
(True/False)
4.7/5
(31)
A subquery, except one in the FROM clause, cannot contain a(n) ____ clause.
(Multiple Choice)
4.8/5
(43)
The operator is used to determine whether a condition is present in a subquery. _________________________
(True/False)
4.9/5
(38)
A multiple-column subquery nested in the clause of the outer query is known as an inline view. _________________________
(True/False)
4.7/5
(36)
A single-row subquery can be nested in the SELECT clause of the outer function.
(True/False)
4.8/5
(31)
Showing 101 - 120 of 132
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)