操作 创建视图的sql语句中有不支持子查询 mysql创建视图 select * from (select name,age from table_name where 1=1 and name='a') tb where 1=1 and type=1 问题 报错1349 - View’s SELECT contains a subquery in the FROM clause
报错sql (举例): CREATE OR REPLACE VIEW v_tab_b AS SELECT `tab`.`id` AS `id`, `tab`.`create_time` AS `create_time` FROM ( SELECT `b`.`id` AS `id` `b`.`create_time`