Filtering Based on Count.

yeppy12

Registered User.
Local time
Today, 01:36
Joined
Sep 11, 2007
Messages
38
I have 4 columns in my table called Ovens: Last_Name, Age, City, and Clerk. First, I want to count the last names and sum them by clerk. Second, I want to filter based on a number I type (i.e., if I want to see the clerks with sums greater than 24, I only want the query to display sums of 25 and up. Can this be done in one query? If so, how can I go about this?
 
Is this clerk a numeric field if no how do you want to sum
 
Check query1 is this what you want
 

Attachments

Have you downloaded and checked my sample
 
If you are trying to get data by typing 30 in my sample and excpecting to get something like Tom 33, Jane 48, Bill 51 it will never happen
coz I havnt entered the data in the database
apply the query to your own data and check the result
 
If you are trying to get data by typing 30 in my sample and excpecting to get something like Tom 33, Jane 48, Bill 51 it will never happen
coz I havnt entered the data in the database
apply the query to your own data and check the result

Ok. I will try the query again with more data.
 

Users who are viewing this thread

Back
Top Bottom