Answer the question
In order to leave comments, you need to log in
Strange MySQL behavior: sorting of results depends on select?
MySQL 5.5 is used.
When requested:
SELECT id, name FROM products WHERE some_id = 48 AND another_id = 1 ORDER BY product_sort desc
SELECT * FROM products WHERE some_id = 48 AND another_id = 1 ORDER BY product_sort 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