πΌ BUSINESS QUESTION
"What countries do our customers come from? Just the unique list, no repeats."
SELECT DISTINCT Country FROM Customers
ORDER BY Country;
π― KEY TAKEAWAY
DISTINCT removes duplicate values. Without it, you'd see "Germany" 11 times. With it, you see each country once.
β EXPECTED RESULT
21 unique countries (Argentina, Austria, Belgium, Brazil, Canada, Denmark, Finland, France, Germany, Ireland, Italy, Mexico, Norway, Poland, Portugal, Spain, Sweden, Switzerland, UK, USA, Venezuela)