select distinct wr_parent from g5_write_news where ca_name = '기타' and (wr_num between -6314 and (-6314 + 10000)) and wr_4 <> '1' order by wr_num, wr_reply limit 270, 15
3065 : Expression #1 of ORDER BY clause is not in SELECT list, references column 'philsamo3.g5_write_news.wr_num' which is not in SELECT list; this is incompatible with DISTINCT
error file : /bbs/board.php