Answer the question
In order to leave comments, you need to log in
Why is MySQL (Sphinx) giving such strange results?
There is a Sphinx index with a uint - common_id field, which is supposed to be sorted by, I'm trying to make a request:select common_id from item_ru group by common_id;
+-----------+
| common_id |
+-----------+
| 1 |
| 201 |
| 401 |
| 801 |
| 1601 |
| 1201 |
| 1401 |
| 1001 |
| 601 |
| 1801 |
| 2001 |
| 2201 |
| 601 |
| 2401 |
| 2601 |
| 1401 |
| 2801 |
| 3001 |
| 2001 |
| 1401 |
+-----------+
20 rows in set (2.36 sec)
select id, title, common_id from item_ru group by common_id order by rating desc;
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question