Select * from cs_bbs_data where (code='kcvc_counsel' AND ccode='kcvc') or (code='kcvc_counsel' AND sharing='Y' ) ORDER BY notice DESC, ref DESC, re_step ASC LIMIT 60., 10