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为字符串,不是数组


posted @ 2016-11-14 20:15  虚幻的街景  阅读(175)  评论(0)    收藏  举报