Part 1
1

Exercice du chapitre trier les données : Exercice SQL n°6

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

Statement

Afficher les informations de la table Clients dans l'ordre alphabétique des noms puis pour les doublons dans l'ordre inverse des prénoms

  • 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
codecli
prenomcli
nomcli
ruecli
cpcli
villecli
3
Roger
Botas
5 place du marché
57500
Saint-Avold
9
Michel
Botas
17, rue des hochets
57500
Saint-Avold
10
David
Collague
14, rue Utrillo
57600
Forbach
1
Alberto
Dubois
3 Rue du Pont
57500
Saint-Avold
5
Paul
Lontague
21 Boulevard des oiseaux
57800
Freyming
7
Thomas
Malon
12, rue des lapins
57600
Forbach
4
Edouard
Noulas
41 rue de léglise
57600
Forbach
8
Rénato
Point
451, rue de légalité
57500
Saint-Avold
6
Eric
Pondier
14, rue des Agates
57600
Forbach
11
Simon
Potillon
17, rue des marguerittes
57800
Freyming
2
Mi
Volond
4 rue de la liberté
57500
Saint-Avold