← BYTES
Database·Starter·Ref: 13.1.10

What does the DISTINCT keyword do in a SELECT statement?

Have a question about this video? Mention reference 13.1.10 when you contact us.

a.Sorts the results alphabetically
b.Encrypts the selected columns
c.Removes duplicate rows from the result set, keeping only unique combinations of the selected columns
d.Limits the result set to exactly one row
DISTINCT filters the final result set so that only unique rows (based on the combination of selected columns) are returned -- if two rows would otherwise have identical values across all selected columns, only one of them appears in the output.

Find this on YouTube & Instagram

Every BYTES video is tagged with its reference number and topic — search any of these on YouTube or Instagram to find this one:

#BYTES#BYTES13110#Database