In MySQL joins can be used in update statements and you can also use on duplicate key update to achieve a similar behavior with an insert statement. However, I don’t really understand what you’re trying to do to offer any specific SQL.
The issue is not that you use the field memberNumber in both UPDATE and SELECT. The issue is the result that SELECT is providing. It has to give a one record result.
Not sure that query is OK. Most of the databases I know will not accept the alias total in the condition.