SQL statement

SQL statement for "days" added