데이터베이스 오류가 발생하였습니다.

Error Number: 3065

Expression #1 of ORDER BY clause is not in SELECT list, references column 'ux-sko.ki_write.wr_datetime' which is not in SELECT list; this is incompatible with DISTINCT

SELECT DISTINCT `wr_parent`, `wr_num`, `wr_reply` FROM (`ki_write`) WHERE `bo_table` = 'notice' ORDER BY `wr_datetime` desc LIMIT 15

Filename: /home/uniqxp/sko/www/models/m_board.php

Line Number: 21