Hi guys,
My project stores user data in a db and i want to display this data dinamicaly to the user according
to his activity in particular years.
I need to select all the years recorded in db.
I tried "SELECT YEAR(date_column) FROM table_name" ;
not working .
PS: the dates are recorded on a datetime field type.
thanks in advance.


