문화프로그램

select distinct wr_parent from g5_write_culture where ca_name = '%EB%A1%9C%EB%93%9C%EB%A7%B5' and (wr_num between -5 and (-5 + 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_culture.wr_num' which is not in SELECT list; this is incompatible with DISTINCT

error file : /g5/bbs/board.php