综合使用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(合并)后的结果集,

原文地址:https://www.cnblogs.com/zuoxiaobing/p/3761848.html