Why does this mysql query fail?
UPDATE accounts
SET motivation = IF(motivation+100 <= maxMotivation AND subscriberDays = 0,
motivation+100)
I cannot get it to work, I am trying to do an update with an if statement
JavaScript questions and answers, JavaScript questions pdf, JavaScript question bank, JavaScript questions and answers pdf, mcq on JavaScript pdf, JavaScript questions and solutions, JavaScript mcq Test , Interview JavaScript questions, JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)