select * from
(select * from b)
where id=1;
查询语句如上,报错:Every derived table must have its own alias
翻译:每个派生表都必须有自己的别名
因为子查询(select * from b)没有定义别名
解决:
select * from
(select * from b) a
where id=1;
select * from
(select * from b)
where id=1;
查询语句如上,报错:Every derived table must have its own alias
翻译:每个派生表都必须有自己的别名
因为子查询(select * from b)没有定义别名
解决:
select * from
(select * from b) a
where id=1;