S
SF
Hi,
I have the following result set...
District Commune
D1 C1
D1 C2
D2 C1
D3 C1
I want to count how many district and commune, so I create a query below:
SELECT Count(tblDistricts.Di_District_e) AS CountOfDi_District_e,
Count(tblCommunes.Cn_Commune_e) AS CountOfCn_Commune_e
FROM tblDistricts INNER JOIN tblCommunes ON tblDistricts.Di_DistrictID =
tblCommunes.Cn_DistrictID;
I found that # of district and # of commune are equal (which is wrong
because there is onle 3 dsitricts and 4 communes)
Could someone advice?
SF
I have the following result set...
District Commune
D1 C1
D1 C2
D2 C1
D3 C1
I want to count how many district and commune, so I create a query below:
SELECT Count(tblDistricts.Di_District_e) AS CountOfDi_District_e,
Count(tblCommunes.Cn_Commune_e) AS CountOfCn_Commune_e
FROM tblDistricts INNER JOIN tblCommunes ON tblDistricts.Di_DistrictID =
tblCommunes.Cn_DistrictID;
I found that # of district and # of commune are equal (which is wrong
because there is onle 3 dsitricts and 4 communes)
Could someone advice?
SF