programming-examples/sql/RetrieveFromTables/Write a sql query to display the order number followed by order date and the purchase amount for each order which will be delivered by the salesman who is holding the ID 5001.sql
2019-11-18 14:05:53 +01:00

5 lines
260 B
SQL

/*Write a sql query to display the order number followed by order date and the purchase amount for each order which will
be delivered by the salesman who is holding the ID 5001.*/
SELECT ord_no, ord_date, purch_amt
FROM orders
WHERE salesman_id=5001;