delete from datei a
where a.Datum < (select max(b.Datum) from datei b where a.artikel = b.artikel)