Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- SELECT CarId, Make, Model, ReturnLocation
- FROM Agreement, Vehicle
- WHERE '2018-01-04' BETWEEN HireStartDate AND HireEndDate
- OR '2018-04-09' BETWEEN HireStartDate AND HireEndDate
- AND Agreement.CarId = Vehicle.Id;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement