I am trying to do a SQL query that calculates the number of days between two dates from a database. However an error occurs when I try to search for specific data from the d