mysql - Add percent symbol as int -


is possible add percent symbol int? because when try use concat changes other numbers string , i'm trying avoid that.

the structure of query have this:

select <first query> union select concat('5', '%')... 

output becomes:

 1000  5% 

initially, i'd keep comma on first output like

 1,000  5% 

is there easier way can achieve this? hope made sense.

thank you.

you cannot add % symbol without changing type string. doing far best way proceed ie, need cast int string , concatenate % symbol it.


Comments

Popular posts from this blog

javascript - Bootstrap Popover: iOS Safari strange behaviour -

Magento/PHP - Get phones on all members in a customer group -

session - Logging Out Using PHP -