A subquery in an SQL SELECT statement is enclosed in:
A. parenthesis -- (...).
B. brackets -- [...].
C. CAPITAL LETTERS.
D. braces -- {...}.
Answer: Option A
Solution(By Examveda Team)
In SQL, a subquery is enclosed in parentheses, as shown in Option A. Subqueries are used to retrieve data from one table and use that data as a condition for another query. The syntax for subqueries requires using parentheses to enclose the subquery within the main query. Options B, C, and D do not represent the correct way to enclose subqueries in SQL.Related Questions on Sql Miscellaneous
A. Structured Query Language
B. Structured Query List
C. Simple Query Language
D. None of these
Which is the subset of SQL commands used to manipulate Oracle Database structures, including tables?
A. Data Definition Language(DDL)
B. Data Manipulation Language(DML)
C. Both of above
D. None
Which operator performs pattern matching?
A. BETWEEN operator
B. LIKE operator
C. EXISTS operator
D. None of these
What operator tests column for the absence of data?
A. EXISTS operator
B. NOT operator
C. IS NULL operator
D. None of these
Join The Discussion