sql - Subtract one day from datetime - Stack Overflow I need to have a query work like this which will subtract a day from created day: ... the result is equivalent to adding a number of days onto the earlier of the dates.