Login
Remember
Register
Ask a Question
What are the steps to update the view in SQL
0
votes
asked
Nov 26, 2020
in
Sql
by
SakshiSharma
What are the steps to update the view in SQL
#sql-view
#view-sql-update
Please
log in
or
register
to answer this question.
1
Answer
0
votes
answered
Nov 26, 2020
by
rajeshsharma
SQL CREATE and REPLACE can be used for updating the view.
Execute the below query to update the created view.
Syntax:
CREATE OR REPLACE VIEW view_name AS
SELECT column_name(s)
FROM table_name
WHERE condition
...