select distinct wr_parent from gnu_write_hea where ca_name = 'a' and (wr_num between '-55' and '9945') and wr_10 != '0' order by wr_num, wr_reply limit 0, 15

3065 : Expression #1 of ORDER BY clause is not in SELECT list, references column 'gods.gnu_write_hea.wr_num' which is not in SELECT list; this is incompatible with DISTINCT

error file : /gods/bbs/board.php