WITH name_cte AS (subquery)
WITH family_stats AS ( SELECT STATUS, COUNT(*) AS cnt FROM FamilyMembers GROUP BY STATUS ) SELECT * FROM family_stats;