Select * from kb_news where news_depth=5 and ( main_subject like '%.%' or sub_subject like '%.%' or news_content like '%.%' ) and part2_idx = '276' order by idx desc LIMIT 20; , 10