- purchase join customer using (customer_id):
Join purchase with customer to bring in customer info.
- Aggregation follows the join.
- customer_id, name, address: Include
customer info int the query result.
- customer_id is included to guard against
duplicates in other columns.
- Is (name, address) a key?