• Examples
  • Sample Database
#1
SELECT
	city
FROM
	customers
ORDER BY
	city;
#2
SELECT DISTINCT
	city
FROM
	customers;
#3
SELECT
	city,
	country
FROM
	customers
ORDER BY
	country;
#4
SELECT
	company
FROM
	customers;
#5
SELECT DISTINCT
	company
FROM
	customers;
albums artists customers employees genres invoice_items invoices media_types playlist_track playlists tracks
  • SQL Query
Enter a query, then click the execute button or press F9 to run it.
  • Result
Loading