mysql> mysql> mysql> select YEAR('1989-07-20'); +--------------------+ | YEAR('1989-07-20') | +--------------------+ | 1989 | +--------------------+ 1 row in set (0.00 sec) mysql>