Function
SUBDATE
subtracts some amount of time from the specified date
SELECT 
    SUBDATE('2021-03-25', INTERVAL 30 DAY)
by Valeri Tandilashvili
4 years ago
MySQL
Datetime functions
Full MySQL Course for Beginners
1
Pro tip: use ```triple backticks around text``` to write in code fences