在 MySQL 中创建物化视图时出现语法错误:
尝试如下创建 mview:
create materialized view test.dept10
as
select * from test.employees
where deptno=10;
**ERROR 1064 (42000):** You have an error in your SQL syntax; check the manual that
corresponds to your MySQL server version for the right syntax to use near 'materialized view test.dept10