日期:2014-05-17  浏览次数:20373 次

是否无法将使用外连接的结果集作为子查询的对象
是否无法将使用外连接的结果集作为子查询的对象

如:
select * from (select * from t1 a left join t2 b on a.id=b.id)

------解决方案--------------------
select * from (select * from t1 a left join t2 b on a.id=b.id) as t --加个别名