In general, there is a table {table} , in it there are columns {id, price} , for some products price = 0 , which means that the price is negotiable. If I make a SQL query with ORDER BY price ASC then the products with the contract price are displayed first, but I need to remove them to the end. So, is it possible to implement this using an SQL query?
PySy, I know that it is possible to re-sort the output lines with php foreach , where to track price == 0 and transfer it to the end of the array, BUT the site is written very crutch, very crooked, yii is used somewhere, somewhere one version, somewhere else, there are shorter legs than a leg and I want to do with a little blood.