select SQL_CALC_FOUND_ROWS distinct wr_parent from g4_write_ds_pscc where ca_name = '3D' order by wr_num, wr_reply limit 0, 30
3065 : Expression #1 of ORDER BY clause is not in SELECT list, references column 'sir.g4_write_ds_pscc.wr_num' which is not in SELECT list; this is incompatible with DISTINCT
error file : /15sir/bbs/board.php