K
K
khodos_dmitry2018-03-02 19:10:30
MySQL
khodos_dmitry, 2018-03-02 19:10:30

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

I doubt it's possible. I know it's possible like this:

SELECT CONCAT_WS(' до ', `min`, `max`) FROM `table`

But that's not it.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Melkij, 2018-03-02
@khodos_dmitry

select concat('от ', min, ' до ', max) from ...
?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question