Select * from cs_bbs_data where (code='issue' and ccode='kcvc') or (code='issue' and sharing='Y' ) order by notice DESC, idx DESC LIMIT 90., 10