programming-examples/sql/Subqueries/10. Write a query to display all the customers with orders issued on date 17th August, 2012.sql

5 lines
219 B
MySQL
Raw Normal View History

2019-11-18 14:05:53 +01:00
/*10. Write a query to display all the customers with orders issued on date 17th August, 2012.*/
SELECT b.*, a.cust_name
FROM orders b, customer a
WHERE a.customer_id=b.customer_id
AND b.ord_date='2012-08-17';