SELECT DISTINCT ContinentCode FROM Countries;
This query will return all DISTINCT (unique, different) values from ContinentCode column from Countries table
DISTINCT
ContinentCode
Countries
ContinentCode| —— OC| EU| AS| NA| AF|
SQLFiddle Demo
Send Feedback Cancel