programming-examples/sql/View/16. Write a query to create a view that find the salesmen who issued orders on either August 17th, 2012 or October 10th, 2012.sql
2019-11-18 14:05:53 +01:00

6 lines
263 B
SQL

/*16. Write a query to create a view that find the salesmen who issued orders on either August 17th, 2012 or
October 10th, 2012.*/
CREATE VIEW sorder
AS SELECT salesman_id, ord_no, customer_id
FROM orders
WHERE ord_date IN('2012-08-17', '2012-10-10');