I have a table:
table 1
carId (INT)
Check Out date (DATE)
Checek In date (DATE)
EXPLANATION: This table has a data for a rental car which shows a particular car is checked out on a particular date and checked in on a particular date
I want to find how many cars are on rent on a particular date
OUTPUT
date (DATE)
NO_Of_Cars
Is there a way to solve this problem in python/SQL?
EDIT : I may have posted this question wrongly. In output, I want date and no of cars for all the dates of a year. Apologies