G
Guest
I have this query
SELECT tblRefit.ID, tblRefit.Car, MAX(tblRefit.Date) AS LastDat
FROM tblRefi
GROUP BY tblRefit.Car
and I get the error "You tried to execute a query that does not include the specified expression <name> as part of an aggregate function. (Error 3122)
I can't see what is wrong with my SQL
SELECT tblRefit.ID, tblRefit.Car, MAX(tblRefit.Date) AS LastDat
FROM tblRefi
GROUP BY tblRefit.Car
and I get the error "You tried to execute a query that does not include the specified expression <name> as part of an aggregate function. (Error 3122)
I can't see what is wrong with my SQL