当我们要查询id为1,2,3,4的数据的时候,可以用 IN操作,例如:

  

1 SELECT * from table where id in (1,2,3,4);
View Code

相关文章: