SELECT COUNT(*) AS total,category FROM lists WHERE lst_id > 100000 AND restricted='0' GROUP BY category:Access denied for user 'rtadmin'@'localhost' (using password: NO)