programming-examples/sql/View/1. Write a query to create a view for those salesmen belongs to the city New York.sql

5 lines
173 B
MySQL
Raw Normal View History

2019-11-18 14:05:53 +01:00
/*1. Write a query to create a view for those salesmen belongs to the city New York.*/
CREATE VIEW newyorkstaff
AS SELECT *
FROM salesman
WHERE city = 'New York';