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
IN is a valid multiple-row subquery operator._________________________
(True/False)
5.0/5
(45)
Which operator will instruct Oracle12c to list all records with a value that is less than the highest value returned by the subquery?
(Multiple Choice)
4.9/5
(37)
Contents of the BOOKS table
-Based upon the contents of the BOOKS table,which line of the following SQL statement contains an error?
1 SELECT title,pubid,cost,retail
2 FROM books
3 WHERE (pubid,cost)
4 (SELECT pubid,cost)
5 FROM books
6 WHERE pubid = 3);

(Multiple Choice)
4.8/5
(32)
If a subquery references a column from the outer query,then it is a(n)____________________ subquery.
(Short Answer)
4.9/5
(41)
Contents of the BOOKS table
-Based on the contents of the BOOKS table,which of the following SQL statements will return an error message?

(Multiple Choice)
4.9/5
(38)
Valid multiple-row operators include ANY,ALL,and ____________________.
(Short Answer)
4.8/5
(41)
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.8/5
(36)
The =ANY operator yields the same results as using the IN multiple-row operator._________________________
(True/False)
4.8/5
(30)
Which clause is used when the group results of a subquery need to be restricted,based on some condition?
(Multiple Choice)
4.8/5
(32)
A(n)correlated subquery references one or more columns from the outer query._________________________
(True/False)
4.8/5
(27)
The >ALL operator indicates that a value must be ____ value returned by the subquery.query?
(Multiple Choice)
4.8/5
(23)
If a multiple-column subquery is contained in the WHERE or HAVING clause of the outer query,the ____________________ operator must be used.
(Short Answer)
4.7/5
(34)
A subquery nested in a SELECT clause cannot contain an ORDER BY clause.
(True/False)
4.8/5
(28)
Which of the following operators is the equivalent of the IN comparison operator?
(Multiple Choice)
4.8/5
(29)
A subquery must be enclosed in a set of quotation marks._________________________
(True/False)
4.9/5
(33)
What is the difference between the IN operator and the =ANY operator?
(Essay)
4.7/5
(34)
Showing 101 - 120 of 131
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)