select distinct wr_parent from g4_write_product where ( ca_name = '56' or ca_name="67" or ca_name="57" or ca_name="146" or ca_name="123" or ca_name="124" or ca_name="125" or ca_name="126" or ca_name="127" or ca_name="128" or ca_name="129" or ca_name="144" or ca_name="150" or ca_name="151" or ca_name="64" or ca_name="157" or ca_name="132" or ca_name="131" or ca_name="130" or ca_name="145" or ca_name="69" or ca_name="159" or ca_name="160" or ca_name="158" or ca_name="68" or ca_name="155" ) and (wr_num between '-118' and '382') and wr_10 != '1' order by wr_num, wr_reply limit 0, 12
3065 : Expression #1 of ORDER BY clause is not in SELECT list, references column 'supercom_cms.g4_write_product.wr_num' which is not in SELECT list; this is incompatible with DISTINCT
error file : /web/bbs/board.php