SQL 51 🛢️ Date and Time Arithmetic Functions
Dates and times are not numbers, but they behave like them in some ways and unlike them in others. Adding a day to a date is not the same as adding 1 to an integer, because months have different lengths and leap years exist. Subtracting two dates produces an interval, not a number. Extracting the…