I made the table and inserted sample data in SSMS and ran this query. After execution I got your desired output :
select Red month, man, sal from
(select DATENAME(month,dob) as Red,count(TypeOfPost) man
group by DATENAME(month,dob) ) a
(select DATENAME(month,dob) as Green,count(TypeOfPost) sal
group by DATENAME(month,dob) ) b on B.Green = A.Red
output was :
month man sal
January 1 1
June 1 NULL
November 1 1
I think the result is the one you wanted :-?
Is it ok ?