MySQL Forums
Forum List  »  Triggers

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

I made an error in my first reply, it should've been ...

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

What you mistakenly call "crap" is the info I need re each table to help you with your Trigger.

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: ERROR: Unknown column in WHERE clause
195
January 04, 2022 09:44PM


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.