What does SELECT DISTINCT mean?
In databases & SQL, SELECT DISTINCT means a form of the SELECT statement that removes duplicate rows from the result, so each combination of returned values appears only once.
Databases & SQL vocabulary · SQL Statements and Queries
In Turkish: tekrarsız seçim, SELECT DISTINCT
Also used in: Software Engineering
Type at least 2 characters to search all fields.
How it is used
Handy for questions like 'which countries do our customers come from?'. Experienced developers are suspicious when DISTINCT is added to hide duplicates caused by a wrong join; the fix is usually the join, not DISTINCT. COUNT(DISTINCT column) counts unique values.
Example sentences
SELECT DISTINCT country FROM customers gives us the list of markets we sell in.
Don't fix the duplicates with SELECT DISTINCT; the join condition is wrong.
Common collocations
- SELECT DISTINCT
- COUNT(DISTINCT ...)
- remove duplicates
- distinct values
Related terms
More terms: SQL Statements and Queries
Practise with graded reading
Reading at the right level is the fastest way to make new words stick. Pick free English books by level:
