
PUZZLE 41 BUDGETING 169
PUZZLE
41 BUDGETING
Mark Frontera at LanSoft, Inc., in Miami, Florida, posted this problem in
September 1995. He has budgeting information that consists of the
following three tables: the items to be paid for, the estimated amounts to
be spent on them, and the actual amounts spent on them. I am going to
skip the DDL and post the data, since they are simple.
Notice that some items are covered by more than one check, and
sometimes one check covers several items.
Items
item_nbr item_descr
=====================
10 'Item 10'
20 'Item 20'
30 'Item 30'
40 'Item 40'
50 'item 50'
Actuals
item_nbr actual_amt check_nbr
================================= ...