3065: Expression #1 of ORDER BY clause is not in SELECT list, references column 'nsvijet_aa999.d.datum_od' which is not in SELECT list; this is incompatible with DISTINCT (SQL: 'select distinct year(d.datum_od), year(d.datum_od) from dogadjaj d where d.datum_od > 0 and (d.datum_od >= date(now()) or d.datum_do >= date(now()) or d.datum_od = 0) order by d.datum_od desc')