I have a table that contains n rows for one ID, now I would like to count only the newest row for the ID.
Propably my english is not so well, i will tell it also in german.
Ich hab eeine Tabelle mit Belegzeilen, es gibt dort mehrere Belege für eine eindeutige ID, zusätzlich gibt es ein Datumsfeld das, das Anlagedatum beschreibt. Ich möchte nun nur die Belege zählen pro ID die das aktuellste Datum haben.