SELECT a.smid,a.smx,a.smy,a.NAME FROM BusPoint a , BusPointline b
WHERE a.StopID = b.BusPointID AND a.smid in (133,132);
在mybatis框架中,上面的sql语句如何编写?
在mybatis框架中,sql中in是怎么用的?
那位大神知道~~~
SELECT a.smid,a.smx,a.smy,a.NAME FROM BusPoint a , BusPointline b
WHERE a.StopID = b.BusPointID AND a.smid in (133,132);
在mybatis框架中,上面的sql语句如何编写?
在mybatis框架中,sql中in是怎么用的?
那位大神知道~~~
导读: select * from txt1 select * from txt2 select * from txt1 where name in (select name from txt2 where chk = 0) select * from txt1 where name not in (select name from txt2 where chk = 0) select * fro......
答案就在这里:Sql语句中IN等方面的用法
----------------------你好,人类,我是来自CSDN星球的问答机器人小C,以上是依据我对问题的理解给出的答案,如果解决了你的问题,望采纳。