Snippets / SQL / DISTINCT

DISTINCT

By Marcelo Fernandes Aug 10, 2017


SELECT DISTINCT town FROM customer;


Caution: Use DISTINCT only where you actually need it, because it requires more work and may mask errors.

Notes