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
The ____ operator indicates that the records processed by the outer query must match one of the values returned by the subquery.
(Multiple Choice)
4.8/5
(40)
The greater than operator, >, is a valid operator for subqueries. _________________________
(True/False)
4.7/5
(39)
Which of the following terms refers to a type of subquery that is processed, or executed, once for each row in the outer query?
(Multiple Choice)
4.8/5
(33)
Contents of the CUSTOMERS table
-Based on the contents of the CUSTOMERS table, which of the following SQL statements will display the customer# of all customers who were referred by the same individual that referred customer# 1003?

(Multiple Choice)
4.8/5
(35)
The following SQL statement contains which type of subquery? SELECT title, retail, category, cataverage FROM books NATURAL JOIN
(SELECT category, AVG(retail) cataverage FROM books GROUP BY category);
(Multiple Choice)
4.8/5
(38)
Explain the different processing methods used by correlated and uncorrelated subqueries.
(Essay)
4.8/5
(39)
A group function can be used in a(n) . _________________________
(True/False)
4.8/5
(37)
When a multiple-column subquery is included in the WHERE or HAVING clause of the outer query, which operator is used by the outer query to evaluate the results of the subquery?
(Multiple Choice)
4.9/5
(32)
A subquery is required when the condition for the query is based upon an unknown. _________________________
(True/False)
4.9/5
(46)
If a subquery is nested in a HAVING clause, the subquery must be on the right side of the comparison operator.
(True/False)
4.9/5
(27)
Any type of subquery can be used in the ____ clause of a SELECT statement.
(Multiple Choice)
4.9/5
(32)
The results of a subquery are passed back to the ____________________ query.
(Short Answer)
4.8/5
(32)
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.8/5
(34)
Which of the following operators is the equivalent of the IN comparison operator?
(Multiple Choice)
4.8/5
(30)
With a(n) ____________________ statement, a series of DML actions can occur with a single SQL statement.
(Short Answer)
4.7/5
(35)
The operator yields the same results as using the IN multiple-row operator. _________________________
(True/False)
4.8/5
(33)
Showing 21 - 40 of 132
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)