What is View in SQL?

Category: SQLWhat is View in SQL?
Editor">Editor Staff asked 2 years ago

What is View in SQL?

1 Answers
Editor">Editor Staff answered 2 years ago

 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