Resumen de la lección · Video de 9 min
Combining tables like VLOOKUP: JOIN orders with customers and products
Picture Monday morning at the online shop. Your manager wants last week's orders with the customer's name and city next to each one. The orders sheet only has a customer ID, so you write a VLOOKUP into the customers sheet and drag it down twenty thousand rows. It works, until someone inserts a column in the customers sheet and every lookup quietly points at the wrong data. That's the fragile part of spreadsheets: the link between tables lives in a formula you have to rebuild every time.
Ideas clave
- JOIN plus ON links tables by a shared key
- Chain joins to pull in customers and products
- LEFT JOIN keeps unmatched rows as NULL
Abrir la lección completa Ver el curso
Preguntas y respuestas
What is Combining tables like VLOOKUP: JOIN orders with customers and products about?
Picture Monday morning at the online shop. Your manager wants last week's orders with the customer's name and city next to each one. The orders sheet only has a customer ID, so you write a VLOOKUP into the customers sheet and drag it down twenty thousand rows. It works, until someone inserts a column in the customers sheet and every lookup quietly points at the wrong data. That's the fragile part of spreadsheets: the link between tables lives in a formula you have to rebuild every time.
What are the key points of Combining tables like VLOOKUP: JOIN orders with customers and products?
JOIN plus ON links tables by a shared key. Chain joins to pull in customers and products. LEFT JOIN keeps unmatched rows as NULL.
How can I practise Combining tables like VLOOKUP: JOIN orders with customers and products?
Watch the lesson, read it, then answer its quiz in the course "Practical SQL for Analysts".