통기타에 문제 생기면 누구한테 물어 봐야 해?

select distinct wr_parent from g4_write_tong_after where ca_name = '공지' and (wr_num between '-5982' and '4018') order by wr_num, wr_reply limit 0, 15

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

error file : /bbs/board.php