select distinct wr_parent from g4_write_product where ( ca_name = '96' or ca_name="97" or ca_name="98" or ca_name="99" or ca_name="100" or ca_name="101" or ca_name="102" or ca_name="103" or ca_name="104" or ca_name="105" or ca_name="106" or ca_name="107" or ca_name="108" or ca_name="109" or ca_name="142" or ca_name="143" or ca_name="110" ) 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