I have a table which keeps the record for letter send by different department to different region(A,B,C) in Hindi or English language as given in the table.
I want to count the number of letter send by Each Department to Region A,B,C in Hindi And English as per the result table.
I am able to get this for all department together but not able to do is as per Department. Kindly guide me get that result.my query for all record. I tried cross join alias but not able to get it in given format.I tried multiple answer given here but no joy.
select count(LtrNo) from tblltr where REGION="A" and Language="Hindi"
select count(LtrNo) from tblltr where REGION="A"and Language="English"
select count(LtrNo) from tblltr where REGION="B" and Language="Hindi"
select count(LtrNo) from tblltr where REGION="B" and Language="English"
select count(LtrNo) from tblltr where REGION="C" and Language="Hindi"
select count(LtrNo) from tblltr where REGION="C" and Language="English"
Fiddle here Fiddle