Remove duplicate rows for the selected expression set.
Section: SELECT Basics
Select distinct values
sql
sql
SELECT DISTINCT country
FROM customers;Explanation
DISTINCT applies to the full selected column combination.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing SELECT Basics