Syntax:
YEAR(date)

Returns the year for date, in the range 1000 to 9999, or 0 for the
"zero" date. Returns NULL if date is NULL.

URL: https://dev.mysql.com/doc/refman/8.4/en/date-and-time-functions.html

