MySQL constraint to ensure data integrity between two tables (1-n cardinality)
I made a minimal example to describe my problem using the concept of player using items in a game (which makes my problem easier to understand). My problematic is the following. Let's say I have to store items and the…