I'm running a database under the Marian engine and I have two tables:
Users(id, score)
Replies(user ID, reply)
Now I have to write a stored procedure that, given a number X, increments the field score by 1 for all the users that have replied with X.
How can I do that? I tried to do an update query, but MariaDB doesn't seem to work with the from clause.
Thanks in advance