Select * from red_bbs_data where code='notice' order by ref desc, re_step ASC LIMIT 4