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
Post a Comment