What is the difference between
DAYOFWEEK() in MySQL?
I found the solution:
WEEKDAY()function counts days of the week from
Mondayand starts from
DAYOFWEEK()function counts days of the week from
Sundayand starts from
For better understanding, I also made an article: