programming-examples/sql/QueryMultipleTables/Write a SQL statement that finds out each order number followed by the name of the customers who made the order.sql
2019-11-18 14:05:53 +01:00

4 lines
236 B
SQL

/*Write a SQL statement that finds out each order number followed by the name of the customers who made the order. */
SELECT orders.ord_no, customer.cust_name
FROM orders, customer
WHERE orders.customer_id = customer.customer_id;