programming-examples/sql/RetrieveFromTables/Write a query to display salesman_id, salesman name, order date, order no, and purchase amount from orders table.sql

3 lines
183 B
MySQL
Raw Normal View History

2019-11-18 14:05:53 +01:00
/*Write a query to display salesman_id, salesman name, order date, order no, and purchase amount from orders table. */
SELECT ord_date, salesman_id, ord_no, purch_amt
FROM orders;