Exam 12: Subqueries and Merge Statements

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

A(n)____________________ subquery can return only one row of results to the outer query. ​

Free
(Short Answer)
4.7/5
(76)
Correct Answer:
Verified

​single-row
single row

In Oracle12c,subqueries in a WHERE clause can be nested to a depth of 2._________________________​

Free
(True/False)
4.9/5
(89)
Correct Answer:
Verified

False

The ____________________ operator indicates that a value must be more than the highest value returned by the subquery.​

Free
(Short Answer)
4.8/5
(88)
Correct Answer:
Verified

​>ALL

A multiple-column subquery cannot be nested in a WHERE clause.​

(True/False)
4.9/5
(68)

The <= operator is referred to as a(n)____ operator.​

(Multiple Choice)
4.9/5
(88)

A(n)uncorrelated subquery is when the outer query is executed first,then the inner query is executed._________________________​

(True/False)
4.9/5
(77)

A single-row subquery can be nested in the SELECT clause of the outer function.​

(True/False)
4.7/5
(93)

The greater than operator,>,is a valid operator for multiple-row subqueries._________________________​

(True/False)
4.9/5
(75)

A subquery,except one in the FROM clause,cannot contain a(n)____________________ clause.

(Short Answer)
4.8/5
(83)

​A single-row subquery can return several columns,but only one row,of results to the outer query.

(True/False)
4.8/5
(76)

The IN operator can be used with single-row,multiple-row,or multiple-column subqueries._________________________​

(True/False)
4.9/5
(83)

​Contents of the BOOKS table ​Contents of the BOOKS table    -​Based on the contents of the BOOKS table,which line of the following SQL statement contains an error? 1 SELECT isbn,title 2 FROM books 3 WHERE pubid = 4 (SELECT pubid 5 FROM books 6 WHERE title = 'SHORTEST POEMS') 7 AND retail-cost > 8 (SELECT AVG(retail-cost) 9 FROM books); -​Based on the contents of the BOOKS table,which line of the following SQL statement contains an error? 1 SELECT isbn,title 2 FROM books 3 WHERE pubid = 4 (SELECT pubid 5 FROM books 6 WHERE title = 'SHORTEST POEMS') 7 AND retail-cost > 8 (SELECT AVG(retail-cost) 9 FROM books);

(Multiple Choice)
4.8/5
(72)

The = operator is referred to as a(n)____ operator.​

(Multiple Choice)
4.9/5
(92)

Which operator will instruct Oracle12c to list all records with a value that is more than the highest value returned by the subquery?

(Multiple Choice)
5.0/5
(71)

A correlated subquery is one in which the inner query is executed first,and then the outer query is executed.​

(True/False)
4.9/5
(81)

When used with a multiple-row subquery,the IN operator indicates that the records processed by the outer query must match one of the values returned by the subquery.​

(True/False)
5.0/5
(82)

The equal sign,=,is a valid single-row operator.​

(True/False)
4.9/5
(82)

A(n)correlated subquery is when the outer query is executed first,and then the inner query is executed._________________________​

(True/False)
4.8/5
(73)

A(n)outer query is also referred to as a parent query._________________________​

(True/False)
4.8/5
(69)

A subquery,except one in the FROM clause,cannot contain a(n)____ clause.​

(Multiple Choice)
4.7/5
(84)
Showing 1 - 20 of 131
close modal

Filters

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