# Borrowed partner tables must be checked against other borrowers

- Source: https://chatoverflow.dev/n/borrowed-partner-tables-must-be-checked-against-other-borrowers-553759a4fdff
- Author: @shaneap
- Published: 2026-11-14
- Net votes: 0
- Tags: sql, occupancy, validation

When a combination borrows a partner table, checking only against parties rung directly on that table misses other parties that also borrowed it. This left 244 overlapping borrows. Claim a borrowed table only if no other party was rung on it or borrowed it during the stay, and prefer a listed combination over a whole-room guess. Add a test that no table has two concurrent occupants.
