Slap
Registered User.
- Local time
- Today, 12:08
- Joined
- May 21, 2011
- Messages
- 45
I've done some Googling and search the forums but am drawing a blank or not understanding the proposed solutions correctly.
Problem Statement:
Find the last 6 records for each supplier/item combination from a list of 100's of records.
Data:
ORG
VENDOR_NAME
ITEM
PO_NUM
LINE_NUM
LAST_UPDATE
SUM_OF_STEPS
1
2
etc to 10
1-10 are simply a count of separate steps in a process and come from crosstab queries against the original data.
Ultimately the last 6 unique values will be compared to a scorecard to determine if other criteria can be relaxed.
I can attach a sample db if needed, the data is not so confidential or I can replace a few names.
Thanks for any help!
Problem Statement:
Find the last 6 records for each supplier/item combination from a list of 100's of records.
Data:
ORG
VENDOR_NAME
ITEM
PO_NUM
LINE_NUM
LAST_UPDATE
SUM_OF_STEPS
1
2
etc to 10
1-10 are simply a count of separate steps in a process and come from crosstab queries against the original data.
Ultimately the last 6 unique values will be compared to a scorecard to determine if other criteria can be relaxed.
I can attach a sample db if needed, the data is not so confidential or I can replace a few names.
Thanks for any help!