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/15. Write a query to create...

8 lines
281 B
SQL

/*15. Write a query to create a view that finds the salesmen who issued orders on October 10th, 2012.*/
CREATE VIEW salesmanonoct
AS SELECT *
FROM salesman
WHERE salesman_id IN
(SELECT salesman_id
FROM orders
WHERE ord_date = '2012-10-10');