gigs
0
Q:

how to create a view in sql


CREATE VIEW view_name AS

SELECT column1, column2, ...

FROM table_name

WHERE condition; 
4
The following SQL creates a view that shows all customers from Brazil:

CREATE VIEW [Brazil Customers] AS
SELECT CustomerName, ContactName
FROM Customers
WHERE Country = 'Brazil'; 
0

New to Communities?

Join the community