( select * from tb  where  sort=1 limit 5 )
union 
( select * from tb  where  sort=2 limit 5 )
union 
( select * from tb  where  sort=3 limit 5 )
order by  id  desc

 每个分类取5条这种有什么性能问题没有?
posted on 2013-01-04 00:28  王奇疏  阅读(6628)  评论(0编辑  收藏  举报