select distinct wr_parent from g4_write_bbs_faq where ca_name = 'EasyRoERP' and (wr_num between '-62' and '9938') order by wr_num, wr_reply limit 0, 15

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

error file : /bbs/bbs/board.php