MonkeyChico
Registered User.
- Local time
- Today, 09:16
- Joined
- May 11, 2010
- Messages
- 18
I think this is a simple question, but I can't seem to find the answer. I have a table in which the key identifier of each record is a field called "PolicyID". The problem is the one policyID can have multiple record entries. I want to combine all the data into one record. Here's what I have:
PolicyID Year Class Limit
123 2005 2 $500
123 2006 1 $800
123 2006 3 $600
133 ...
133 ...
133 ...
I'd like to have something like this:
PolicyID Year1 Class1 Limit1 Year2 Class2 Limit2 Year3 Class3 Limit3
123 2005 2 $500 2006 1 $800 2006 3 $600
Ideas?
Thanks very much in advance.
PolicyID Year Class Limit
123 2005 2 $500
123 2006 1 $800
123 2006 3 $600
133 ...
133 ...
133 ...
I'd like to have something like this:
PolicyID Year1 Class1 Limit1 Year2 Class2 Limit2 Year3 Class3 Limit3
123 2005 2 $500 2006 1 $800 2006 3 $600
Ideas?
Thanks very much in advance.