programming-examples/sql/Subqueries/9. Write a query to display all customers with orders on October 5, 2012.sql

5 lines
187 B
MySQL
Raw Normal View History

2019-11-18 14:05:53 +01:00
/*9. Write a query to display all customers with orders on October 5, 2012.*/
SELECT *
FROM customer a,orders b
WHERE a.customer_id=b.customer_id
AND b.ord_date='2012-10-05';