You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
programming-examples/sql/View/16. Write a query to create...

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');