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
When the subquery is executed first and the value is passed back as input to the outer query,the subquery is known as an uncorrelated subquery.
(True/False)
4.8/5
(35)
If a subquery is nested in a HAVING clause,the subquery must be on the right side of the comparison operator.
(True/False)
4.8/5
(37)
If the result returned from a subquery must be compared to a group function,then the inner query must be nested in the outer query's ____ clause.
(Multiple Choice)
4.8/5
(38)
Any type of subquery can be used in the ____ clause of a SELECT statement.
(Multiple Choice)
4.7/5
(38)
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
(28)
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
(27)
A subquery nested in a WHERE clause can only be on the left side of the comparison operator._________________________
(True/False)
4.9/5
(37)
A(n)____________________ query can return several rows of results,but only one column.
(Short Answer)
4.9/5
(36)
When a multiple-column subquery is included in the outer query's WHERE clause,the column names listed in the WHERE clause must be in the same order as they're listed in the subquery's SELECT clause.
(True/False)
4.8/5
(36)
In Oracle12c,there is no depth limit on the number of subqueries that can be nested in a(n)FROM clause._________________________
(True/False)
4.8/5
(45)
The IN operator is valid for multiple-row subqueries._________________________
(True/False)
4.9/5
(43)
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.9/5
(33)
When a multiple-column subquery is used in the outer query's FROM clause,it creates a temporary table,called an inline view,that can be referenced by other clauses of the outer query.
(True/False)
4.7/5
(34)
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.7/5
(33)
A(n)____________________ subquery is a nested query that returns more than one row of results.
(Short Answer)
4.9/5
(26)
A correlated subquery is a subquery that is executed once for each row in the outer query.
(True/False)
4.8/5
(33)
Contents of the CUSTOMERS table
-Based on the contents of the CUSTOMERS table,which SQL statement will display the customers residing in the same state as customer#1013?

(Multiple Choice)
4.9/5
(32)
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 single-quotation marks._________________________
(True/False)
4.9/5
(37)
Showing 21 - 40 of 131
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)