Open topic with navigation
The DATE_SUB() function subtracts days from a date or timestamp expression.
DATE_SUB(datetime_value_expression, integer_expression)
SELECT DATE_SUB('2020-11-02',1)
The above query returns
2020-11-01
Copyright © 2002-2025. Cloud Software Group, Inc. All Rights Reserved.