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

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

    评论

报告相同问题?

悬赏问题

  • ¥15 ads仿真结果在圆图上是怎么读数的
  • ¥20 Cotex M3的调试和程序执行方式是什么样的?
  • ¥20 java项目连接sqlserver时报ssl相关错误
  • ¥15 一道python难题3
  • ¥15 用matlab 设计一个不动点迭代法求解非线性方程组的代码
  • ¥15 牛顿斯科特系数表表示
  • ¥15 arduino 步进电机
  • ¥20 程序进入HardFault_Handler
  • ¥15 oracle集群安装出bug
  • ¥15 关于#python#的问题:自动化测试