how to calculate two columns values in select query using mysql?
Here is my sql query
SELECT cusName,
remarks,
invoiceNo,
invoiceDate,
total_VAT,
bill_tot,
ROUND(((bill_tot - total_VAT) * 5/100),2) as vatamt,
ROUND(bill_tot - total_VAT, 2) as exclvat
FROM invoices
where invoiceDate between '2018-11-13' and '2018-11-13'
order by invoiceID;
In the above query i need to calculate sum value of vatamt and exclvat as total amount and display it.Can anyone help me please to do this?