select * from table1 where t1_c1 in (select * from table2 where t2_c=5) and t1_c2 in (select * from table3 where t3_c=5);
上面这句是否可用?(sorry,我目前无测试环境)
如果可用,如何改成用left join来表达?
...全文
4944打赏收藏
mysql问题,关于left join和子查询的
select * from table1 where t1_c1 in (select * from table2 where t2_c=5) and t1_c2 in (select * from table3 where t3_c=5); 上面这句是否可用?(sorry,我目前无测试环境) 如果可用,如何改成用left join来表达?