Answers for "how to get days from week mysql"

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
0

mysql get day of week

DAYOFWEEK();//(1 for Sunday,2 for Monday …… 7 for Saturday )
Posted by: Guest on July-15-2019

Code answers related to "SQL"

Browse Popular Code Answers by Language