Honestmath
Technical User
hey all,
i have table with 3 fields:
ID EntryDate Price
ID's are repeated many times for different dates and the same dates appear for many ID's. ID and EntryDate together are the primary key.
i want to find the latest price for each ID. something like:
select * from tblPrices
where EntryDate=Max(EntryDate for ID)
anyone know the most effecient way to do this? can it be done in 1 query?
thnx for the help -- math
i have table with 3 fields:
ID EntryDate Price
ID's are repeated many times for different dates and the same dates appear for many ID's. ID and EntryDate together are the primary key.
i want to find the latest price for each ID. something like:
select * from tblPrices
where EntryDate=Max(EntryDate for ID)
anyone know the most effecient way to do this? can it be done in 1 query?
thnx for the help -- math