Hello. Interested in such a question. There is a table with the following structure: name, parent, price, etc. The task: first to display in the table values with certain values of parent (for example, 1,2,3), and then values with all other values of parent (ie, 4, 5, 6 ..) It should look something like this :
I tried to make a request in the following way, but did not give any result
SELECT * FROM `modx_site_content` ORDER BY parent IN (54721, 55450, 54747) ASC MariaDB engine Tell me, please, what to fix or how to make a request correctly ...