mysql in 命令
生活随笔
收集整理的這篇文章主要介紹了
mysql in 命令
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
SQL: select * from table where id IN (3,6,9,1,2,5,8,7);
SQL: select * from table where id IN ($str); //注意 ?$str為字符串,不是數組
轉載于:https://www.cnblogs.com/xtmp/p/6063266.html
總結
以上是生活随笔為你收集整理的mysql in 命令的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 2016-11-18(2)(Unity相
- 下一篇: mysql中使用concat例子