Server shutdown in progress SELECT category_id, count(*) as arr FROM prefix_articles where penname_id='5586' and status='A' group by category_id order by category_id desc