0 votes
in Sql by
What is View in SQL and what is the use of it?

1 Answer

0 votes
by
A View can be defined as a virtual table that contains rows and columns with fields from one or more tables.

Syntax:

CREATE VIEW view_name AS

SELECT column_name(s)

FROM table_name

WHERE condition
...