Skip to content · ⁨Passer au contenu⁩

Joins with grouping · ⁨Joins avec groupement⁩

English

Reports: joins with grouping

The real power comes from combining what you have learned: join two tables, group the joined rows, and summarise each group with an aggregate.

A common report is "how much has each customer spent?" — join customers to their orders, group by customer, and SUM the totals.

Français

Rapports : joints avec regroupement

La véritable puissance provient de la combinaison de ce que vous avez appris : joindre deux tables, regrouper les lignes jointes, et résumer chaque groupe avec une agrégation.

Un rapport courant est « combien a dépensé chaque client ? » — joignez les clients à leurs commandes, regroupez par client, et SUM les totaux.

Handout · ⁨Fiche de cours⁩

Log in or create account · ⁨Se connecter ou créer un compte⁩

IGCSE, A-Level & AP