Part 1
1

Chapter 1 :
Afficher des colonnes depuis une table

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

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

Statement
Afficher sans doublon, les codes des films loués dans une colonne portant le titre "Le code des films loués".
  • 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
Le code des films loués
2
4
5
1
6
8
7
9
5 / 6
Exercice du chapitre afficher les colonnes d'une table