SQL 2023 · Querying

Remove duplicates

Return each distinct value once.

SELECT DISTINCT country FROM customers;

Official SQL 2023 documentation

More querying commands

All querying commands · SQL 2023 cheatsheet

Was this page helpful?