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