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.8/5
(29)
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
(33)
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
(45)
Correct Answer:
Verified

​>ALL

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

(True/False)
4.9/5
(29)

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

(Multiple Choice)
4.9/5
(41)

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

(True/False)
4.8/5
(27)

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

(True/False)
4.7/5
(45)

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

(True/False)
4.8/5
(25)

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

(Short Answer)
4.8/5
(41)

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

(True/False)
4.8/5
(30)

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

(True/False)
4.9/5
(40)

​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.7/5
(33)

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

(Multiple Choice)
5.0/5
(42)

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
(26)

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

(True/False)
4.8/5
(37)

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
(38)

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

(True/False)
4.9/5
(34)

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

(True/False)
4.8/5
(37)

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

(True/False)
4.8/5
(26)

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

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

Filters

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