View
Create View
CREATE VIEW [view_name] AS
SELECT column1, column2
FROM table_name
WHERE condition;CREATE VIEW [Products Above Average Price] AS
SELECT ProductName, Price
FROM Products
WHERE Price > (SELECT AVG(Price) FROM Products);Select View
SELECT * FROM [view_name];SELECT * FROM [Products Above Average Price];Update View
Drop View
Last updated