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 subquery,except one in the FROM clause,can't have an ORDER BY clause._________________________
(True/False)
4.9/5
(34)
The ____________________ operator indicates that a value must be less than the highest value returned by a subquery.
(Short Answer)
4.8/5
(30)
The results of the subquery are passed to the inner query._________________________
(True/False)
4.8/5
(38)
A subquery is a(n)____________________ query - one complete query inside another query
(Short Answer)
4.8/5
(39)
With a(n)____________________ subquery,the subquery is executed once for each row in the outer query.
(Short Answer)
4.7/5
(39)
A subquery is required when the condition for the inner query is based upon an unknown._________________________
(True/False)
4.7/5
(30)
A temporary table that is created when a multiple-column subquery is used in the FROM clause of an outer query is called a(n)____.
(Multiple Choice)
4.8/5
(32)
With a(n)____________________ subquery,the inner query is executed first and the results are passed back to the outer query.
(Short Answer)
4.7/5
(38)
A(n)GROUP BY clause can be used in a subquery._________________________
(True/False)
4.7/5
(34)
If a subquery is contained in a WHERE or HAVING clause,the subquery must be on the ____________________ side of the comparison operator.
(Short Answer)
4.7/5
(32)
The ____ operator is used to determine whether a condition is present in a subquery.
(Multiple Choice)
4.8/5
(34)
A correlated subquery references one or more columns in the outer query,and the EXISTS operator is used to test whether the relationship or link is present.
(True/False)
4.7/5
(34)
The following SQL statement contains what type of subqueries?
SELECT isbn,title FROM books WHERE pubid =
(SELECT pubid FROM books WHERE title = 'SHORTEST POEMS')
AND retail-cost >
(SELECT AVG(retail-cost)FROM books);
(Multiple Choice)
4.7/5
(27)
The <ALL operator indicates that a value must be ____ value returned by the subquery.
(Multiple Choice)
4.8/5
(36)
A subquery is required when the condition for the outer query is based upon an unknown.
(True/False)
4.9/5
(35)
Explain the different processing methods used by correlated and uncorrelated subqueries.
(Essay)
4.8/5
(31)
Multiple-row subqueries are nested queries that can return more than one row of results to the parent query.
(True/False)
5.0/5
(32)
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.8/5
(31)
Which of the following operators is used with a multiple-row subquery?
(Multiple Choice)
4.9/5
(33)
Showing 61 - 80 of 131
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)