综合使用union和limit区分结果并限制返回结果集的条数

select * from channel where pid=0 union select * from channel where pid=1 union select * from channel where pid=3 limit 5,10

这里的limit限制了返回的union(合并)后的结果集,

posted on 2014-05-30 22:27  左小兵  阅读(3069)  评论(0编辑  收藏  举报

导航