I\'m trying to write some sort of availability API for booking vehicles out that basically has the following SQL tables.
Vehicles Table
ve