当前位置: 代码迷 >> Sql Server >> 是不是无法将使用外连接的结果集作为子查询的对象
  详细解决方案

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

热度:77   发布时间:2016-04-25 00:55:56.0
是否无法将使用外连接的结果集作为子查询的对象
是否无法将使用外连接的结果集作为子查询的对象

如:
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 --加个别名
  相关解决方案