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:
| Globe Trotteur | 150 rue du Lac | 1200 | Genève | 70 |
| Mes Lectures Jeunesse | 12 rue des Sources | 1200 | Genève | 50 |
| Le Bouquiniste | 1 place de Bel-Air | 1200 | Genève | 10 |