Difficult to explain, but essentially: I am producing a database for a business where customers rent vehicles and perhaps drivers for a short period of time. I am struggling to prevent vehicles and drivers from being booked multiple times. Ideally, drivers can drive multiple vehicles, but of course only one vehicle per booking, the time increment is in days.
I am familiar with Access, but a relative novice with SQL. Currently, I have a main "bookings" table with one-to-many relationships with "drivers" and "vehicle" tables.
Am I thinking along the right track that I should be trying to use multiple primary keys with each ID to the rental start date and rental end date?