시민참여행사

select distinct wr_parent from g5_write_citizen where ca_name = '%EC%82%AC%EB%9E%91%EC%9D%98 %EC%B0%A8%EB%82%98%EB%88%84%EA%B8%B0' and (wr_num between -8 and (-8 + 10000)) order by wr_num, wr_reply limit 0, 15

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

error file : /g5/bbs/board.php