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

4 lines
236 B
MySQL
Raw Normal View History

2019-11-18 14:05:53 +01:00
/*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;