How to choose from mysql database, the phrase "from `min` to `max`" if the database has the values `min` and `max`?

I doubt that is possible. Know that you can:
SELECT anyone of parameters(' to ', `min`, `max`) FROM `table`

But it's not.
June 7th 19 at 14:45
1 answer
June 7th 19 at 14:47
Solution
select concat('from ', min, ' to ', max) from ...
?
well, Yes. Something I should have guessed. Thank you. - Hailee_Mitchell commented on June 7th 19 at 14:50
But you can still order if `min` = `max`, it was just the value of `min`, for example. - Hailee_Mitchell commented on June 7th 19 at 14:53
if(min=max, min, concat(...)) - Ignacio_Romaguera commented on June 7th 19 at 14:56

Find more questions by tags MySQL