Posted by CK on 03/23/06 20:46
Good Morning,
I have a person table with personID. I have a personRate table with
personID, rateID, and effectiveDate.
I need to select fields from personRate, but I want the fields from the
proper record.
I need the one child record that has the most current date of the largest
rateID.
For example a person may have many rate records. I need the record that has
the most current date of the largest rateID they have. Does that make
sense?
I am making a view that has data from both tables. I need to display the
most current rate info.
Any ideas? TIA ~ CK
[Back to original message]
|