(Find all correct answers)
create view tt.inno_tables as
select v1.* from
(select * from information_schema.tables
where engine='innodb')
v1;
a) This view is valid and mysql can use the MERGE algorithm.
b) This view is valid and mysql has to use the TEMPTABLE algorithm.
c) This view is invalid because it uses a select in the FROM-clause.
d) This view is invalid, as you can’t create a view on information_schema tables.
c
The create view will fail with:
Try “help create view” or check http://dev.mysql.com/doc/refman/5.0/en/create-view.html