* To have the counts in the same row SELECT ..., ; Sum( IIF(Genderc="M", 1, 0)) AS males, ; Sum( IIF(Genderc="F", 1, 0)) AS females, ... * To have the counts in the separate rows SELECT ..., ; COUNT(*) AS males, ; ... WHERE Genderc="M" .... ... UNION SELECT ..., ; COUNT(*) AS females, ; ... WHERE Genderc="F" ....>Hi Group