eg. 1 select * from table where id in (A,B,C...) or 2 select * from table where id between A and B or 3 用like,模糊查询
http://zhidao.baidu.com/question/532304964.html 看了你发的这个,其实就是查询的时候条件多一点罢了。4 select proName,proDetails from product where price between 500 and 999,os='Android'
图片没上传成功,,看看这个网站的截图。这个意思
复杂的就是 生成动态的sql
1 select * from table where id in (A,B,C...)
or
2 select * from table where id between A and B
or
3 用like,模糊查询
看了你发的这个,其实就是查询的时候条件多一点罢了。4 select proName,proDetails from product where price between 500 and 999,os='Android'