ExamVeda
Login
Home
This question belongs to Database Introduction To SQL
Introduction to SQL
?

DISTINCT and its counterpart, ALL, can be used more than once in a SELECT statement.

Answer & Solution
Correct Answer: Option A
Option A: True - In SQL, the DISTINCT and ALL keywords can be used multiple times in a SELECT statement.

DISTINCT is used to return unique rows in the result set, eliminating duplicates.
ALL (which is optional and often implied when DISTINCT is not used) is used to return all rows, including duplicates.

You can use DISTINCT multiple times to ensure that the result set is uniquely filtered based on different columns or combinations of columns.

Conclusion:
The statement "DISTINCT and its counterpart, ALL, can be used more than once in a SELECT statement" is Option A: True. Therefore, the correct answer is True.
Examveda
Question posted by Examveda
Community

Join the Discussion

No comments yet Be the first to discuss this question.