6 lines
263 B
MySQL
6 lines
263 B
MySQL
|
/*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');
|