Answers for "interval SQL"

SQL
0

mysql add days to date

UPDATE classes 
SET `date` = DATE_ADD(`date`, INTERVAL 2 DAY)
WHERE id = 161
Posted by: Guest on September-02-2020
3

postgresql today - 1 year

select now() - INTERVAL '1 YEAR';
Posted by: Guest on September-18-2020
0

mysql add days to date

UPDATE classes 
SET `date` = DATE_ADD(`date` , INTERVAL 2 DAY)
WHERE `id` = 161;
Posted by: Guest on September-02-2020

Code answers related to "SQL"

Browse Popular Code Answers by Language