I have a table in a MySQL database which has these fields:
Name From_Date To_Date
Mr. Spencer 2018-09-01 2018-09-25
I like to get the count of Mondays he worked. For example, the result must be 4. 2018-09-01 to 2018-09-25, there where 4 Mondays between those dates (09-03, 09-10, 09-17, 09-24)
But I don't know how. Maybe someone can help me.