write an SQL statement to make a list of customer name and his city with his order no, purchase amount for those orders with order amount between 500 and 2000. use alias for the tables
SELECT cust_name, city, ord_no, purch_amt
FROM customer AS C, orders AS O
WHERE C.cust_id = O.cust_id AND O.purch_amt BETWEEN 500 AND 2000