Skip to content · ⁨Saltar al contenido⁩

Joins with grouping · ⁨Uniones con agrupación⁩

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.

Español

Informes: uniones con agrupación

La verdadera potencia surge al combinar lo que has aprendido: unir dos tablas, agrupar las filas unidas y resumir cada grupo con una función de agregación.

Un informe común es "¿cuánto ha gastado cada cliente?" — une los clientes con sus pedidos, agrupa por cliente y calcula la SUM de los totales.

Handout · ⁨Material⁩

Log in or create account · ⁨Iniciar sesión o crear cuenta⁩

IGCSE, A-Level & AP