Login
Remember
Register
Ask a Question
What is View in SQL and what is the use of it?
0
votes
asked
Nov 26, 2020
in
Sql
by
SakshiSharma
What is View in SQL and what is the use of it?
#sql-view
use-of-view-sql
Please
log in
or
register
to answer this question.
1
Answer
0
votes
answered
Nov 26, 2020
by
rajeshsharma
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
...