Exam 12: Subqueries and Merge Statements

arrow
  • Select Tags
search iconSearch Question
flashcardsStudy Flashcards
  • Select Tags

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 ​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); -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 ​Contents of the BOOKS table    -​Based on the contents of the BOOKS table,which of the following SQL statements will return an error message? -​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 ​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); -​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 results of the outer query are passed to the inner query.

(True/False)
4.8/5
(29)

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)

IN is not a valid operator for a multiple-column subquery.​

(True/False)
4.9/5
(31)

A subquery is a complete query nested inside another query.

(True/False)
4.8/5
(35)

​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)

The outer query receives its input from the ____.​

(Multiple Choice)
4.7/5
(39)

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
close modal

Filters

  • Essay(0)
  • Multiple Choice(0)
  • Short Answer(0)
  • True False(0)
  • Matching(0)