Answers for "how to get this week data in mysql"

SQL
0

this week mysql

SELECT *
FROM   your_table
WHERE  YEARWEEK(`date`, 1) = YEARWEEK(CURDATE(), 1)
Posted by: Guest on December-30-2020
1

mysql date of the week

DAYOFWEEK(date)
Posted by: Guest on June-05-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 "how to get this week data in mysql"

Code answers related to "SQL"

Browse Popular Code Answers by Language