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(n)____________________ subquery returns more than one column to the outer query.
(Short Answer)
4.8/5
(41)
The following SQL statement contains which type of subquery?
SELECT title FROM books WHERE EXISTS
(SELECT isbn FROM orderitems WHERE books.isbn = orderitems.isbn);
(Multiple Choice)
4.9/5
(24)
If it is possible for a subquery to return a NULL value to the outer query for comparison,the ____ function should be used to substitute an actual value for the NULL.
(Multiple Choice)
4.9/5
(29)
Which of the following must be used to separate a subquery from the outer query?
(Multiple Choice)
4.9/5
(39)
Any type of subquery can be used in the FROM,WHERE,or ____________________ clause of a SELECT statement.
(Short Answer)
4.9/5
(30)
With a(n)____________________ statement,a series of DML actions can occur with a single SQL statement.
(Short Answer)
4.9/5
(30)
A group function can be used in a(n)inline view._________________________
(True/False)
4.9/5
(32)
A subquery can only be nested in the WHERE or HAVING clause of the outer query.
(True/False)
4.9/5
(36)
Valid multiple-row operators include =,>,<,>=,<=._________________________
(True/False)
4.9/5
(32)
Explain the difference between multiple-row and multiple-column subqueries.
(Essay)
4.8/5
(31)
The EXISTED operator is used to determine whether a condition is present in a subquery._________________________
(True/False)
4.8/5
(29)
A multiple-column subquery nested in the SELECT clause of the outer query is known as an inline view._________________________
(True/False)
4.8/5
(30)
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
(35)
The following SQL statement contains which type of subquery?
SELECT title,retail,category FROM books
WHERE retail IN (SELECT MAX(retail)FROM books
GROUP BY category);
(Multiple Choice)
4.8/5
(35)
If a subquery's result must be compared with a group function,you must nest the inner query in the ____________________ clause of the outer query.
(Short Answer)
4.9/5
(28)
A(n)single-row subquery can be nested in a(n)SELECT clause._________________________
(True/False)
4.7/5
(45)
In Oracle12c,a MERGE statement compares data between two tables and can perform a series of DML actions to assist in synchronizing the data of the two tables.
(True/False)
4.8/5
(39)
Showing 41 - 60 of 131
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)