Machine-translated by Google. Questions are authored in English.
Top

Discussion

A SELECT statement within another SELECT statement and enclosed in square brackets ([...]) is called a subquery.

  • A.True
  • B.False

Answer: B

Correct answer: False

A subquery is enclosed in ordinary parentheses, not square brackets: WHERE id IN (SELECT id FROM other).

The rest of the sentence is right - a subquery is indeed a SELECT nested inside another statement - so the single wrong detail is the delimiter. Square brackets do appear in SQL Server and Access, but to quote identifiers containing spaces or reserved words, as in [Order Details], which is an unrelated use.

No comment is present. Be the first to comment.
Loading…

Post your comment

Please log in or register to post a comment.