Answers for "mysql date sub"

SQL
0

mysql subtract month from timestamp

DATE_SUB((DATE_SUB(curdate(), INTERVAL 1 MONTH)), INTERVAL 4 DAY)
Posted by: Guest on July-02-2020
0

mysql subdate

SELECT SUBDATE(NOW(), INTERVAL 1 DAY);  --Yesterday
Posted by: Guest on September-09-2020

Code answers related to "SQL"

Browse Popular Code Answers by Language