Select * from cs_bbs_data where (code='bbslaw' and ccode='mhucvc') or (code='bbslaw' and sharing='Y' ) order by notice DESC, reg_date DESC LIMIT 20., 10