Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

how to determine the number of events occuring at the same time?

Status
Not open for further replies.

traffas

Programmer
Feb 27, 2002
42
US
I am working on a db for an ambulance service. In the db, I keep track of event/calls and call times. IE 'time of call' and the 'time of completion'. The ambulance service serves a community with 40 to 55 thousand people. It's not uncomon to have three ambulances on calls/events simataniously. Some calls are 'emergency calls' and some calls are 'transfers' and some calls are 'stand-bys'.

I would like to keep track of how many times '2nd out' calls occure and how many times '3rd out' calls occure and how many times '4th out' call occure.....etc. There have been as many as 5 ambulances out on calls simataneously. With the growing population of the community, it's conceivable that in the following years, there may be as many as 10 ambulances out or busy at once. This would be very valueable information, ie when to add more staff and more stations........

Is there a way that this could be queried? Could any one walk me through the logic of creating a query that would derive the information I need?......
Many thanks in advance......

Shawn
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top