Hello,
I'm trying to select all distinct years from a unixtimestamp field in
MySQL database. I have a query:
SELECT DISTINCT YEAR(date_field ) As theYear FROM table
but it gives me an empty array. What am I doing wrong?
TNX
I'm trying to select all distinct years from a unixtimestamp field in
MySQL database. I have a query:
SELECT DISTINCT YEAR(date_field ) As theYear FROM table
but it gives me an empty array. What am I doing wrong?
TNX
Comment