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