SELECT subcat_id, total FROM categories_total WHERE city_id = '22' AND cat_id = '6' AND subcat_id IS NOT NULL