My query is
a.name,b.title,b.sex from tbl a,tbl b where b.title in('Manager','General Manger') group by a.name,b.title
i need to bring rows which has count of female population who hold a particular title and also count of male population who hold a particular title.
like count of managers who are female is 20 and count of general managers who are male is 15 and column b.sex has values F,M
it will be helpfull if someone can help