in的用法提问:select * from A,(select b1.id,b1.date from btable b1) B where A.id in B.id
时间: 2016-08-22来源:开源中国
前景提要
HDC调试需求开发(15万预算),能者速来!>>>
如题,sql语句如下
select * from A,(select b1.id,b1.date from btable b1) B where A.id in B.id




这样的SQL语句会报错,是哪里出问题了吗? 还是说in不能这样调用? 我知道另一种写法是正确的:

select * from A where A.id in (select b1.id from btable b1)



但是我现在还特别需要那个b1.date 这个数据,各位有办法吗?


科技资讯:

科技学院:

科技百科:

科技书籍:

网站大全:

软件大全:

热门排行