select distinct wr_parent from g5_write_4_5 where ((INSTR(LOWER(wr_subject), LOWER('or'))) ) and (wr_num between -18 and (-18 + 10000)) order by wr_num, wr_reply limit 0, 15
3065 : Expression #1 of ORDER BY clause is not in SELECT list, references column 'ddkbc_index.g5_write_4_5.wr_num' which is not in SELECT list; this is incompatible with DISTINCT
error file : /bbs/board.php