The MySQL Reference Guide talks about updatable views:
Some views are being updated. That is, you can use them in expressions such as UPDATE , DELETE or INSERT to update the contents of the underlying table. For the view to be updatable, there must be a one-to-one relationship between the rows in the view and the rows in the base table. There are also some other designs that make viewing unchanged.
The WITH CHECK OPTION clause can be specified for an updatable view to prevent inserts or updates to rows other than those for which the WHERE in select_statement is true. The WITH CHECK OPTION clause is implemented in MySQL 5.0.2.
You can find the whole article here .
source share