/*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';