calc in a query

sadie

Registered User.
Local time
Today, 17:09
Joined
Apr 11, 2003
Messages
115
I have a database where I record my clients visits(sessions)
I have a field with the number of sessions allowed and another with the session history
I would like to know how to query the table so as to total the number of sessions for each

client
 
SELECT Client, Count([Sessions]) AS TotalSessions
FROM MyTable
ORDER BY Client;
 
Last edited:
thanks I will try this
 
Don't forget to close Mile's parentheses. :)
 

Users who are viewing this thread

Back
Top Bottom