mysql - Integer to character count for simple graph? -


is there expression can use convert integers count of characters, simple graphing?

what want this:

+---+-------+ | 5 | ----- | | 1 | -     | | 2 | --    | | 4 | ----  | +---+-------+ 

select repeat('-',int_column) table 

Comments