Cricket Averages

mjdavie

Registered User.
Local time
Today, 20:05
Joined
Sep 17, 2001
Messages
34
I wonder If anybody can help.

I am creating a db to hold the results for my local Cricket Club and calculate the averages.

To calculate the average you need to total the runs scored and divide by the number of innings. However if a player is 'Not Out' then you add the runs but don't include that innings when calculating the avergage (this is the problem)

I have a table as follows

Player ID - Runs Scored - NotOut (Yes/No Field)

Could anybody help me with creating a query to perform this calculation

It would be very much appreciated
 

Users who are viewing this thread

Back
Top Bottom