sql server create view from query code example
Example: sql create view
CREATE VIEW view_name AS
SELECT column1, column2, ...
FROM table_name
WHERE condition;
CREATE VIEW view_name AS
SELECT column1, column2, ...
FROM table_name
WHERE condition;