I have a database where bidders can place bids on types of items rather than specific items. At the end of the auction, I need to run some sort of query to allocate specific items to specific bids so that I can create a report to inform successful bidders of their allocated item.
Right now there are 4 tables: Bidder, Bid, ItemType, Item. Relationships are Bidder->Bid, ItemType->Bid, ItemType->Item.
Bids are stored in the Bid table until the end of the auction. Theoretically I need a 1:1 relationship between bid and item, but I cant figure a way to allocate individual items to bidders.
Can anyone advise on how to solve this?
Right now there are 4 tables: Bidder, Bid, ItemType, Item. Relationships are Bidder->Bid, ItemType->Bid, ItemType->Item.
Bids are stored in the Bid table until the end of the auction. Theoretically I need a 1:1 relationship between bid and item, but I cant figure a way to allocate individual items to bidders.
Can anyone advise on how to solve this?