I am new into sql and i am trying to solve this question.
I am new into sql and i am trying to solve this question.
Hi @Inthiyazkhan,
In the future it'd be worth showing your table structure. However, the following query should be round about what you need based of your question.
SELECT RentalID, CustomerID FROM YourSchema.YourTableName WHERE RentalDate >= '2005-05-26' AND ReturnDate < '2005-05-29'
I'd recommend looking at some tutorials such as Wise Owl Tutorials on YouTube for SQL, W3Schools for SQL etc... there are plenty of resources out there to learn SQL from and they will help you greatly with queries like the above.
Regards,
WRBI.
20 People are following this question.