/*4. Write a query to display all the orders which values are greater than the average order value for 10th October 2012.*/
SELECT *  
FROM orders  
WHERE purch_amt >  
    (SELECT  AVG(purch_amt)   
     FROM orders   
     WHERE ord_date ='10/10/2012');