17,140
社区成员




select id, title, create_on, has_pic
from tbl_info_article
where is_recommend = 0
and category_id between 5001 and 5008
and has_check = 0
or is_recommend = 0
and category_id between 5001 and 5008
and has_check = 1
and can_pass = 1
order by is_recommend, category_id, has_check, id desc; --使用和索引一样的排序,是吗?