Comments - how to multiply columns that have dollar signs in them with numbers???
Content reproduced on this site is the property of its respective owners,
and this content is not reviewed in advance by MariaDB. The views, information and opinions
expressed by this content do not necessarily represent those of MariaDB or any other party.
using MariaDB database and phpMyAdmin
I found this query,
SELECT @salary:=CAST(SUBSTRING(salary FROM 2) AS DECIMAL(10,2)) AS SALARY, ROUND((@salary * 0.08),2) AS INCOME_TAX, ROUND((@salary - @salary * 0.08),2) AS NET_INCOME FROM bank_of_america_payroll;
but I need to collect information and display form all records/ROWS?