在MS SQL SERVER 中我是这样的,嵌套查询:
表tab1中有tab1_id,tab1_name,tab2_id,表tab2中有tab2_id,tab2_name
select * from tab1 where tab2_id in (select tab2_id from tab2)请问这条sql语句怎么转成mysql的?
表tab1中有tab1_id,tab1_name,tab2_id,表tab2中有tab2_id,tab2_name
select * from tab1 where tab2_id in (select tab2_id from tab2)请问这条sql语句怎么转成mysql的?
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货