Hello Everyone
I am working on a sql assignment, it consist of 3 tables
table A(info about everyone):
ID, LOC, CNTRY, STATUS
table B(info about every location):
LOC, DESC, CNTRY
table C(everyone who is TYPE-E):
ID, TYPE-E
what I want to do is to generate the following summery
LOC, CNTRY, COUNT(total # of people in this Location with TYPE-E), COUNT(total # of people in this Location)
so basically I want the result categorize by LOC(location name), where CNTRY = USA(that location is in USA), then get a count of how many people are in that location with TYPE-E specific, and # of people with or without TYPE-E(basically everyone in that location)
I know I have to do double left joins and use count(), GROUP BY, but since i am new to sql, I have no idea how you use all these function together
please help? thank you so much