Apologies for the unclear question I was unsure of how to title this. I am new to SQL Server. I have two columns in my table, one called datetimeRented
and one called datetimeReturned
. I want to have a select query which calculates movies that are overdue (+48hrs) so that it will be something along the lines of:
select *
from ----
[where datetimeReturned is datetimeRented + 2 DAYS] --- something which essentially does something like this.
I just want to know what I would need to do to work this out, thank you :)