SELECT DISTINCT ContinentCode FROM Countries;
This query will return all DISTINCT (unique, different) values from ContinentCode column from Countries table
DISTINCT
ContinentCode
Countries
SQLFiddle Demo