Test Index

Structured Query Language (SQL) Get it on Google PlayDownload on the App Store CBSE Board Videos

© examsnet.com
Question : 31 of 58
Marks: +1, -0
The SELECT statement when combined with __________ clause, returns records without repetition.
[CBSE 2024 Set 4]
Solution:  
Concept:
SELECT DISTINCT column FROM table; removes duplicate rows from the result, so each value is shown only once.
Explanation:
DESCRIBE shows the structure of a table, not records.
UNIQUE is a constraint used while creating a table, not a clause of SELECT.
NULL is a missing value, not a clause.
Answer:
Option A (DISTINCT)
© examsnet.com
Advertisements
Go to Question: