Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 7 additions & 4 deletions 4-multiple-tables/27_online_shop.sql
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
-- Online Shop 🛍️
-- Codédex

-- No solution for this one yet! :)
SELECT
orders.id, orders.date, customers.name, products.name
FROM orders
JOIN customers ON orders.customer_id = customers.id
JOIN products ON orders.item_id = products.id
ORDER BY
orders.date;