how to set a fution as default for a var in my sql code example
Example: how to put value in variable mysql
SET variable = (SELECT SUM(tax) FROM taxable_transactions);
SET variable = (SELECT SUM(tax) FROM taxable_transactions);