Joe_Fox
Well-Known Member
Hi,
Who can solve this problem?
I have a table of data that has four columns, one of which is a version number:
e.g.
I need to write a query that only returns the latest version of each item together with just the Item and Ref Number columns.
So, the result should be:
Can someone help? Prize to the person who gets the write answer first.
Who can solve this problem?
I have a table of data that has four columns, one of which is a version number:
e.g.
Code:
Item | Ref Number | Date | Version
Hat | 23 | 16/10/08 | 1
Hat | 23 | 18/02/09 | 2
Socks | 53 | 18/02/09 | 1
Socks | 53 | 20/03/09 | 2
Socks | 53 | 30/07/09 | 3
Pants | 76 | 17/11/08 | 1
Pants | 76 | 18/12/08 | 2
Pants | 76 | 18/03/09 | 3
So, the result should be:
Code:
Hat | 23 | 2
Socks | 53 | 3
Pants | 76 | 3
Can someone help? Prize to the person who gets the write answer first.