Answer the question
In order to leave comments, you need to log in
How to keep sorting when grouping in Sphinx?
Good afternoon!
The request itself
SELECT json FROM shop
WHERE folders IN (123,5456,789)
GROUP BY json._id WITHIN GROUP ORDER BY is_master DESC
ORDER BY integer(json.data_vyezda) ASC
LIMIT 0, 40;
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