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 > 0 and d.datum_od < date(now())) and (d.datum_do = 0 or (d.datum_do > 0 and d.datum_do < date(now())))) order by d.datum_od desc')