Why will this SQL code work in Microsoft Access database but not in phpMyAdmin? How should i change it to work correctly?
My query is: UPDATE (SELECT * FROM VolunteersFor INNER JOIN Convention ON VolunteersFor.location = Convention.location) SET Convention.total_funding = Convention.total_funding + VolunteersFor.donationAmount, VolunteersFor.donationAmount = 0; this code is supposed to add a volunteer's donation to a convention when they are in…