A view is a database object whose values are based on the base table. It is a virtual table created by a query by joining one or more tables. It is operated similarly to the base table but does not contain any data of its own. If any changes occur in the underlying table, the same changes reflected in the View also.
Following is the general syntax of creating a VIEW in MySQL:
CREATE [OR REPLACE] VIEW view_name AS