select SQL_CALC_FOUND_ROWS distinct wr.wr_parent from g4_write_g5_theme wr left join `g4_board_tags` t on wr.wr_id = t.wr_id where 1=1 and ( t.str_tag = 'PC' ) and t.bo_table = 'g5_theme' order by wr_num, wr_reply limit 0, 12
3065 : Expression #1 of ORDER BY clause is not in SELECT list, references column 'sir.wr.wr_num' which is not in SELECT list; this is incompatible with DISTINCT
error file : /15sir/bbs/board.php