In this sql table
I would like to group on fields A and B.
SELECT A, B, count(*) from table
GROUP BY A,B
However, my table has duplicates with different vintages.
How would I modify this query to select only the most recent Data Vintage within each group object and end up with