Insert into newfile
select artikel, max(datum)
from oldfile
group by artikel