I have a table called member where I have a column called handicap. Player Handicap is a FOREIGN KEY in table called stableford.
Member Table:
Name | Handicap
Joe Bloggs | 18
Stableford Table:
Player_name | Player Handicap | Score | Handicap Change
Joe Bloggs | 18 | 38 | 17
I now want to update the Player Handicap with the Handicap Change value(17) but I get an error - cannot update a child row. Player Handicap is a FOREIGN KEY in the Stableford table. It REFERENCES member(handicap). Please help, thanks.