select SQL_CALC_FOUND_ROWS distinct wr.wr_parent from g4_write_theme wr left join `g4_board_tags` t on wr.wr_id = t.wr_id where 1=1 and t.cat_id in ( SELECT distinct cat_id from g4_board_tags where wr_id = 1944 and str_tag = '5.3' ) and t.bo_table = 'theme' order by wr_num, wr_reply limit 0, 10
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