| 
  • If you are citizen of an European Union member nation, you may not use this service unless you are at least 16 years old.

  • You already know Dokkio is an AI-powered assistant to organize & manage your digital files & messages. Very soon, Dokkio will support Outlook as well as One Drive. Check it out today!

View
 

DISTINCT

Page history last edited by wikiuser0010 7 months ago

Beschreibung:

Mithilfe des SELECT DISTINCT Statements werden nur Werte zurückzugeben, die sich voneinander unterscheiden - also, doppelte Vorkommen eliminiert.

 

SQL-Befehl:

Ursprungs Tabelle:

CustomerIDCustomerNameContactNameAddressCityPostalCodeCountry
1

Alfreds Futterkiste Maria Anders Obere Str. 57 Berlin 12209 Germany
2 Ana Trujillo Emparedados y helados Ana Trujillo Avda. de la Constitución 2222 México D.F. 05021 Mexico
3 Antonio Moreno Taquería Antonio Moreno Mataderos 2312 México D.F. 05023 Mexico
4

Around the Horn Thomas Hardy 120 Hanover Sq. London WA1 1DP UK
5 Berglunds snabbköp Christina Berglund Berguvsvägen 8 Luleå S-958 22 Sweden

 

SELECT DISTINCT Country FROM Customers

 

Ausgabe:

Country 
Germany 
Mexico 
Sweden 
UK 

 

 

Comments (0)

You don't have permission to comment on this page.