cara menempatkan nilai dalam variabel mysql

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