Select I.Fee From Item I WHERE GETDATE() - I.DateCreated < 365 days
How can I subtract two days? Result should be days. Ex: 365 days. 500 days..
How about
Select I.Fee From Item I WHERE (days(GETDATE()) - days(I.DateCreated) < 365)