SELECT concat('$', TotalAmount) FROM tbl
However, normally you do formatting like this in the presentation layer.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
I have a column totalAmount and want to convert so that the amount is in US Dollar format.
Example: 9729.20 and I want it to read $9729.20 in display.
SELECT concat('$', TotalAmount) FROM tbl
However, normally you do formatting like this in the presentation layer.