Hello! I am trying to execute a query in Access but keep getting the following error message
:
"Data Type Mismatch in Criteria Expression"
I have double-checked that the expressions are typed correctly and am certain that they are, here is the query SQL:
Please help if you can
"Data Type Mismatch in Criteria Expression"
I have double-checked that the expressions are typed correctly and am certain that they are, here is the query SQL:
PHP:
SELECT [About You].Residence, Count([About You].Gender) AS CountOfGender, Count([About You].Age) AS CountOfAge
FROM (([About You] INNER JOIN Arrival ON [About You].[Student ID] = Arrival.[Student ID]) INNER JOIN [Experience in residence] ON (Arrival.[Student ID] = [Experience in residence].[Student ID]) AND ([About You].[Student ID] = [Experience in residence].[Student ID])) INNER JOIN [Satisfaction of facilities and services] ON ([Experience in residence].[Student ID] = [Satisfaction of facilities and services].[Student ID]) AND ([About You].[Student ID] = [Satisfaction of facilities and services].[Student ID])
GROUP BY [About You].Residence
HAVING (((Count([About You].Gender))="Male") AND ((Count([About You].Age))="Under 20 years of age"));
Please help if you can