I have the following table:
Orders (o)
id name price quantity
---------------------------------------------
1 Candy 0.69 5
2 Brownies 5.99 1
I'm currently doing this query:
SELECT o.id, CONCAT(o.price, ' * ', o.quantity) AS formula
FROM orders o
It works but I get the following result:
id formula
---------------------------------------
1 .69 * 5
2 5.99 * 1
What changes to the query do I need in order to get 0.69
instead of .69
?