SELECT DISTINCT YEAR(datum1) FROM tabelle where YEAR(datum1)=YEAR(datum2)