Jak umieścić wartość w zmiennej mysql
SET variable = (SELECT SUM(tax) FROM taxable_transactions);
Wrong Wolf
SET variable = (SELECT SUM(tax) FROM taxable_transactions);