and thanks in advance for any help.
The easiest way to explain my question is probably with an example, so I set up a sandbox database with two tables and the followi