Answers for "mysql date + week"

SQL
2

mysql one week ago

select id from tbname

where date between date_sub(now(),INTERVAL 1 WEEK) and now();
Posted by: Guest on July-31-2020
1

mysql date of the week

DAYOFWEEK(date)
Posted by: Guest on June-05-2020

Code answers related to "SQL"

Browse Popular Code Answers by Language