Skip to content · ⁨Pular para o conteúdo⁩

Joins with grouping · ⁨Junções com agrupamento⁩

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.

Português

Relatórios: joins com agrupamento

O verdadeiro poder vem de combinar o que você aprendeu: unir duas tabelas, agrupar as linhas unidas e resumir cada grupo com um agregado.

Um relatório comum é "quanto cada cliente gastou?" — una clientes aos seus pedidos, agrupe por cliente e SUM os totais.

Handout · ⁨Material de apoio⁩

Log in or create account · ⁨Entrar ou criar conta⁩

IGCSE, A-Level & AP