0 votes
1 view
in SQL by (72.1k points)

Can anyone tell me how to update the view in SQL?

1 Answer

0 votes
by (34.6k points)

You can use either CREATE command or REPLACE VIEW command to update a view in SQL. Here is the syntax to update the view:

CREATE OR REPLACE VIEW view_name AS
SELECT 
column_list
FROM table_name
WHERE condition(s);

If you are interested in SQL, then enroll for this SQL Training course by Intellipaat that offers instructor-led training, certification, and job assistance. 

Related questions

Welcome to Intellipaat Community. Get your technical queries answered by top developers !


Categories

...