Answers for "mysql get last monday"

SQL
7

mysql get last row

SELECT fields FROM table ORDER BY id DESC LIMIT 1;
Posted by: Guest on March-04-2020
0

mysql last friday of current month

SELECT LAST_DAY(NOW()) - ((7 + WEEKDAY(LAST_DAY(NOW())) - 4) % 7);
Posted by: Guest on October-25-2020

Code answers related to "SQL"

Browse Popular Code Answers by Language