Part 1
1

Chapter 1 :
Afficher des colonnes depuis une table

Exercice du chapitre afficher les colonnes d'une table : Exercice SQL n°1

The goal of the exercise is to apply what you have learned using the examples.

Statement

Afficher le nom des villes dans lesquelles habitent des clients sans se soucier des doublons

  • Show relational schema Download tables (PDF)
  • Table Clients (codecli, prenomcli, nomcli, ruecli, cpcli, villecli)
    Primary key : codecli

    Table Films (codefilm, nomfilm)
    Primary key : codefilm

    Table Locations (codecli, codefilm, datedebut, duree)
    Primary key : codecli, codefilm
    Foreign key : codefilm of the table Films, codecli of the table Clients
Enter your response
Result to obtain
Request 1
villecli
Saint-Avold
Saint-Avold
Saint-Avold
Forbach
Freyming
Forbach
Forbach
Saint-Avold
Saint-Avold
Forbach
Freyming
1 / 6
Exercice du chapitre afficher les colonnes d'une table