To remove duplicate rows from the results of an SQL SELECT statement, the ________ qualifier specified must be included.
A. ONLY
B. UNIQUE
C. DISTINCT
D. SINGLE
Answer: Option C
Solution (By Examveda Team)
Option A: ONLY - The keyword ONLY is not used to remove duplicate rows in SQL SELECT statements. This option is incorrect.Option B: UNIQUE - The UNIQUE keyword is not used in SQL SELECT statements to remove duplicate rows from results. It is used in table definitions for column uniqueness constraints. This option is incorrect.
Option C: DISTINCT - This option is correct. The DISTINCT qualifier in SQL SELECT statements is used to eliminate duplicate rows from the result set, returning only unique rows based on the specified columns.
Option D: SINGLE - The keyword SINGLE is not used in SQL SELECT statements to remove duplicate rows. This option is incorrect.
Conclusion:
To remove duplicate rows from the results of an SQL SELECT statement, you use the Option C: DISTINCT qualifier. Therefore, the correct answer is DISTINCT
Related Questions on Introduction to SQL
You can add a row using SQL in a database with which of the following?
A. ADD
B. CREATE
C. INSERT
D. MAKE
The command to remove rows from a table 'CUSTOMER' is:
A. REMOVE FROM CUSTOMER ...
B. DROP FROM CUSTOMER ...
C. DELETE FROM CUSTOMER WHERE ...
D. UPDATE FROM CUSTOMER ...
A. limits the column data that are returned.
B. limits the row data are returned.
C. Both A and B are correct.
D. Neither A nor B are correct.
Which of the following is the original purpose of SQL?
A. To specify the syntax and semantics of SQL data definition language
B. To specify the syntax and semantics of SQL manipulation language
C. To define the data structures
D. All of the above

Join The Discussion