List the guests by name and the number of times each has reserved a room at one of our hotels. Arrange the list in order from most-frequent to least-frequent guest.
I'm keep getting aggregate function for Firstname and LastName
So Far i have this code
SELECT FirstName, LastName, Count(ResNum) AS TotalReservations
FROM RESERVATION, GUEST
Where GUEST.GuestNo = RESERVATION.GuestNo
ORDER BY RESERVATION.GuestNo
And here is the link for the RelationShip Table
View Relationship Table <--- LINK
group byclause. And Access' underlying SQL engine will require that any field not being aggregated be listed in the group by.