You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
/*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'); |