csdn_linan 2015-09-21 09:23 采纳率: 0%
浏览 19155

sql语句in的用法,在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是怎么用的?

那位大神知道~~~

  • 写回答

5条回答 默认 最新

  • Robot-C 2015-09-21 09:26
    关注

    导读: 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,以上是依据我对问题的理解给出的答案,如果解决了你的问题,望采纳。

    评论

报告相同问题?