programming-examples/sql/View/2. Write a query to create a view for all salesmen with columns salesman_id, name and city.sql

4 lines
188 B
MySQL
Raw Normal View History

2019-11-18 14:05:53 +01:00
/*2. Write a query to create a view for all salesmen with columns salesman_id, name and city.*/
CREATE VIEW salesown
AS SELECT salesman_id, name, city
FROM salesman;