DISTINCT sql :: SELECT COUNT(DISTINCT `wr_parent`) AS `cnt` FROM g5_write_news WHERE wr_option = 'html1' and ca_name in('lifestory','humor','hobby','recipe','camera','restaurant','travel','love','job','fashion','health','childcare','pet','education')
total_count :: 27
sql :: select * from g5_write_news where wr_is_comment = 0 and wr_option = 'html1' and ca_name in('lifestory','humor','hobby','recipe','camera','restaurant','travel','love','job','fashion','health','childcare','pet','education') order by wr_num, wr_reply limit 25, 25

기사섹션