Syntax
WEEKOFYEAR(date)
Purpose
You can call this function to return the ordinal number of the week in the year of date.
Examples
obclient> SELECT WEEKOFYEAR('2020-07-16');
+--------------------------+
WEEKOFYEAR('2020-07-16')
+--------------------------+
29
+--------------------------+
1 row in set (0.01 sec)