In a situation like the following:
A 05-05-2005 Blue
A 05-05-2005 Red
A 05-05-2005 Red
A 04-04-2004 Red
B 05-05-2005 Red
B 05-05-2005 Red
B 04-04-2004 Yello
How do I get the following table:
A 05-05-2005 Red
A 05-05-2005 Red
A 05-05-2005 Blue
B 05-05-2005 Red
B 05-05-2005 Red
Note: Basically I am trying to get the highest date for each color. If it is present more than once, I want both the instances.
Thanks.
A 05-05-2005 Blue
A 05-05-2005 Red
A 05-05-2005 Red
A 04-04-2004 Red
B 05-05-2005 Red
B 05-05-2005 Red
B 04-04-2004 Yello
How do I get the following table:
A 05-05-2005 Red
A 05-05-2005 Red
A 05-05-2005 Blue
B 05-05-2005 Red
B 05-05-2005 Red
Note: Basically I am trying to get the highest date for each color. If it is present more than once, I want both the instances.
Thanks.