Exam 12: Subqueries and Merge Statements

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

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

(Multiple Choice)
4.9/5
(38)

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

The greater than operator, >, is a valid operator for  multiple-row \underline { \text { multiple-row } } subqueries. _________________________

(True/False)
4.7/5
(39)

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

Contents of the CUSTOMERS table 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? -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
(35)

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.8/5
(38)

A multiple-row subquery can be nested in a HAVING clause.

(True/False)
4.9/5
(39)

Explain the different processing methods used by correlated and uncorrelated subqueries.

(Essay)
4.8/5
(39)

A group function can be used in a(n)  inline view \underline {\text { inline view }} . _________________________

(True/False)
4.8/5
(37)

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

A subquery is required when the condition for the  inner \underline {\text { inner } } query is based upon an unknown. _________________________

(True/False)
4.9/5
(46)

If a subquery is nested in a HAVING clause, the subquery must be on the right side of the comparison operator.

(True/False)
4.9/5
(27)

The EXISTS operator can be used with multiple-row subqueries.

(True/False)
4.9/5
(30)

Any type of subquery can be used in the ____ clause of a SELECT statement.

(Multiple Choice)
4.9/5
(32)

The results of a subquery are passed back to the ____________________ query.

(Short Answer)
4.8/5
(32)

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.8/5
(34)

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

(True/False)
4.9/5
(44)

Which of the following operators is the equivalent of the IN comparison operator?

(Multiple Choice)
4.8/5
(30)

With a(n) ____________________ statement, a series of DML actions can occur with a single SQL statement.

(Short Answer)
4.7/5
(35)

The =ANY\underline{=\mathrm{ANY}} operator yields the same results as using the IN multiple-row operator. _________________________

(True/False)
4.8/5
(33)
Showing 21 - 40 of 132
close modal

Filters

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