사장님톡톡

select SQL_CALC_FOUND_ROWS distinct wr_parent from g4_write_jasamall_talk where (( mb_id = 'testhwan' ) ) order by wr_num, wr_reply limit 0, 20

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

error file : /15sir/bbs/board.php