Résultat d'une requête SQL sur la base de donnée Librairie.sq3

La requête:

SELECT Nom, Adresse, NoPostal, Ville, SUM(Quantite) AS 'Total Commandes' FROM Client, Commande, LigneCommande WHERE Client.ClientID = Commande.ClientID AND Commande.CommandeID = LigneCommande.CommandeID AND Canton = 'GE' GROUP BY Client.ClientID

Résultat de la requête:

NomAdresseNoPostalVilleTotal Commandes
Globe Trotteur150 rue du Lac1200Genève70
Mes Lectures Jeunesse12 rue des Sources1200Genève50
Le Bouquiniste1 place de Bel-Air1200Genève10