sql2 = select * from g5_write_g4_euckr_free where wr_parent = '6' and wr_is_comment = 1 order by wr_comment, wr_comment_reply sql5 = SELECT * FROM g5_write_g4_euckr_free WHERE wr_is_comment = 0 and wr_id not in (5) order by wr_num, wr_reply limit 0, 14