MySQL Forums
Forum List  »  Triggers

Re: ERROR: Unknown column in WHERE clause
Posted by: Peter Brawley
Date: January 04, 2022 01:50PM

Is this what you mean?

UPDATE Contest
SET Songs_Entered = Songs_Entered + 1
WHERE Contest.Contest_id = NEW.Song_Entry.Contest_id;

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: ERROR: Unknown column in WHERE clause
200
January 04, 2022 01:50PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.