select SQL_CALC_FOUND_ROWS distinct wr_parent from g4_write_co_banner where wr_is_comment = 0 and ( STR_TO_DATE(wr_5, '%Y-%m-%d %H:%i:%s' ) <= '2025-11-25 06:07:28' AND STR_TO_DATE(wr_6, '%Y-%m-%d %H:%i:%s' ) >= '2025-11-25 06:07:28' ) order by wr_num, wr_reply limit 0, 25
3065 : Expression #1 of ORDER BY clause is not in SELECT list, references column 'sir.g4_write_co_banner.wr_num' which is not in SELECT list; this is incompatible with DISTINCT
error file : /15sir/bbs/board.php