select distinct wr_parent from g4_write_photo_fineart where ca_name = 'Hae Seon Hahn Fabric Art and Quilt' and (wr_num between '-10' and '9990') order by wr_num, wr_reply limit 0, 8

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

error file : /bbs/board.php