Brandon Calitz
Brandon Calitz

Reputation: 42

Ms access. Join expression not supported

Select UUID, COUNT(FosterID)
FROM tblUsers
Left JOIN tblAnimals On (UUID=FosterID)
Group By UUID

I want to get all users and the number of animals they are fostering those who are not have 0

Upvotes: 0

Views: 43

Answers (1)

xShen
xShen

Reputation: 572

Try a full qualified name like

Select tblUsers.UUID, COUNT(tblAnimals.FosterID)
FROM tblUsers
Left JOIN tblAnimals On (tblUsers.UUID=tblAnimals.FosterID)
Group By tblUsers.UUID

Upvotes: 1

Related Questions