SQL 5
SQL 5
Dnyanesh Sarode
SQL VIEW
a view is a virtual table that is derived from the result of a
query
Views allow you to define complex queries and bound them into
a single view.
SHOW CREATE VIEW v1; Shows the statement used to create the view
DROP VIEW
CREATE INDEX i1
ON 50_startups(RND);
CREATE/SHOW/DROP
• CREATE INDEX i1 ON 50_startups(RND);