Hello everyone!
I am using DB2 V8.1 UDB.
Here is the data:
ssn: hrs: year(yymm):
999999999 100.00 6603
999999999 100.00 6606
999999999 100.00 6609
999999999 050.00 6612
999999999 100.00 6703
999999999 100.00 6706
999999999 100.00 6709
999999999 217.00 6803
888888888 100.00 6703
888888888 100.50 6706
888888888 100.00 6709
888888888 100.00 6712
I am looking for an select/update/procedure to create the following output:
OUTPUT (summarize hrs by year)
999999999 350.00 66
999999999 300.00 67
999999999 217.00 68
888888888 400.00 67
THANKS A LOT FOR YOUR HELP!!
I am using DB2 V8.1 UDB.
Here is the data:
ssn: hrs: year(yymm):
999999999 100.00 6603
999999999 100.00 6606
999999999 100.00 6609
999999999 050.00 6612
999999999 100.00 6703
999999999 100.00 6706
999999999 100.00 6709
999999999 217.00 6803
888888888 100.00 6703
888888888 100.50 6706
888888888 100.00 6709
888888888 100.00 6712
I am looking for an select/update/procedure to create the following output:
OUTPUT (summarize hrs by year)
999999999 350.00 66
999999999 300.00 67
999999999 217.00 68
888888888 400.00 67
THANKS A LOT FOR YOUR HELP!!