DISTINCT sql :: SELECT COUNT(DISTINCT `wr_parent`) AS `cnt` FROM g5_write_news WHERE wr_option = 'html1' and ca_name in('society','culture','movie','music','book','ani','series','world','army')
total_count :: 32
sql :: select * from g5_write_news where wr_is_comment = 0 and wr_option = 'html1' and ca_name in('society','culture','movie','music','book','ani','series','world','army') order by wr_num, wr_reply limit 0, 25

기사섹션

sql :: select * from g5_write_news where wr_is_comment = 0 and wr_option = 'html1' and ca_name in('society','culture','movie','music','book','ani','series','world','army') order by wr_num, wr_reply limit 0, 25