May 2005
Intermediate to advanced
352 pages
14h 39m
English
YEAR( )
YEAR(date)This function returns the year of the given date provided. It returns values from 1,000-9,999.
SELECT YEAR('2005-01-01')
AS 'Year';
+------+
| Year |
+------+
| 2005 |
+------+Read now
Unlock full access