adplus-dvertising
frame-decoration

Question

Which operators test whether a subquery returns any rows?

a.

IN and NOT IN

b.

EXISTS and NOT EXISTS

c.

PRESENT

d.

ABSENT

Posted under MySQL Database

Answer: (b).EXISTS and NOT EXISTS

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. Which operators test whether a subquery returns any rows?

Similar Questions

Discover Related MCQs

Q. An uncorrelated subquery does not contain any reference to the values from the outer query.

Q. Which subquery cannot be executed by itself as a separate statement?

Q. Which of these operators does not perform relative-value comparisons?

Q. To combine multiple retrievals, we write several SELECT statements and put the keyword between them. What is the keyword?

Q. Which keyword used with UNION does not retain duplicate rows?

Q. Which keyword used with UNION retains duplicate rows?

Q. The UNION ALL has a higher precedence than UNION DISTINCT.

Q. Which clause is used to sort a UNION result as a whole?

Q. Suppose it is desired that UNION operation should return not more than 3 rows. Which keyword is used for this?

Q. Which table is used to run a UNION-type query on MyISAM tables?

Q. SELECT on a MERGE table is like _____________

Q. Which of these is also known as a virtual table?

Q. A View can be used to select a subset of the table columns.

Q. A view can refer to multiple tables via __________

Q. Views are not updatable.

Q. A view can be deleted using the command __________

Q. What cannot be done on a view?

Q. What can be used to check for views that have been invalidated by DROP or ALTER operations?

Q. Which of the following does not support a materialized view?

Q. To perform a delete on a single-table, how is the name of a column qualified?