There is a database type:
field1 price 1 вариант 500 2 вариант 600 1 вариант 700 3 вариант 800 On the site (product catalog), the data is grouped by the field1 column, and the price column is pulled out as <select> separate mysql query (without grouping)
How to make data sorted by price and field1 column, like this (correct only):
ORDER by `price` where `field1` = '1 вариант' ASC Options using SELECT * FROM table WHERE field = '1 вариант' not suitable, because The request is automatically generated by the code depending on the configured filters, and pulls out the data of all the cells for further work.
ORDER byalreadywhereit is possible to write? - pavel