Thanks, but that will not work. The exemple I gave is really just an exemple. In reality I have no way to know that the year has to be > 2000, it could be anything else.
I tryed the following query:
SELECT id FROM table ORDER BY id DESC LIMIT 3 DISTINCT year
but the syntax doesn't seem to be right. I'm sure it's possible though.
Thanks