I am building a database for the company I work for. We offer software training on a specific software.
We have 12 laptops and currently two trainers.
Courses are generally 2 days in length but due to having two trainers, both trainers can be out either at the same time or overlapping each other, for example, I might be out on Monday and Tuesday, the other other trainer might be out on Tuesday or Wednesday, or even Wednesday & Thursday etc.
I need to create a query that will tell me the available laptops (we currently have 12) for a specified date, but taking account of the variables as detailed.
So for instance I have 4 laptops booked out between 1st & 2nd of Month and I want to book another course for say 2nd & 3rd of the month requiring 9 laptops.
I need to be able to produce a query that will show that there are no available laptops for the second course as the 4 from the first course wont be back in time
We have 12 laptops and currently two trainers.
Courses are generally 2 days in length but due to having two trainers, both trainers can be out either at the same time or overlapping each other, for example, I might be out on Monday and Tuesday, the other other trainer might be out on Tuesday or Wednesday, or even Wednesday & Thursday etc.
I need to create a query that will tell me the available laptops (we currently have 12) for a specified date, but taking account of the variables as detailed.
So for instance I have 4 laptops booked out between 1st & 2nd of Month and I want to book another course for say 2nd & 3rd of the month requiring 9 laptops.
I need to be able to produce a query that will show that there are no available laptops for the second course as the 4 from the first course wont be back in time