Bitte schauen Sie sich Abschnitt 13, Thema 226 genauer an.
-- Our first inner join!
SELECT * FROM customers
JOIN orders ON orders.customer_id = customers.id;
SELECT first_name, last_name, order_date, amount FROM customers
JOIN orders ON orders.customer_id = customers.id;
-- The order doesn't matter here:
SELECT * FROM orders
JOIN customers ON customers.id = orders.customer_id;
SQL