O
Otac0n
Lets say I have a table like the fololowing;
----------
ID PrjID Name
Date
1 1 "TestProject"
Yesterday
2 1 "UpdatedNameForTestProject" Today
3 2 "ServerProject"
Yesterday
----------
how can i select just the most recent record from each distinct PrjID?
If i want to select the distinct PrjIds, this would give me the
following:
"Select Distinct Table.PrjID From Table"
----------
PrjID
1
2
----------
which is very usless.
I need to be able to select the MOST RECENT record from each distinct
ID.
Any help?
Hopefully,
John "otac0n" Gietzen
----------
ID PrjID Name
Date
1 1 "TestProject"
Yesterday
2 1 "UpdatedNameForTestProject" Today
3 2 "ServerProject"
Yesterday
----------
how can i select just the most recent record from each distinct PrjID?
If i want to select the distinct PrjIds, this would give me the
following:
"Select Distinct Table.PrjID From Table"
----------
PrjID
1
2
----------
which is very usless.
I need to be able to select the MOST RECENT record from each distinct
ID.
Any help?
Hopefully,
John "otac0n" Gietzen