como colocar valor em variável mysql

SET variable = (SELECT SUM(tax) FROM taxable_transactions);
Wrong Wolf