Answers for "mysql subtract dates to get days"

SQL
0

select row from mysql where date more than 30 days

mysql> delete from DemoTable where UserMessageSentDate < now() - interval 30 DAY;
Query OK, 3 rows affected (0.11 sec)
Posted by: Guest on July-03-2020

Code answers related to "mysql subtract dates to get days"

Code answers related to "SQL"

Browse Popular Code Answers by Language