To find out, can you use MySQL in this way to sort?
ORDER BY CompanyID = XXX DESC
What I'm trying to do is use one SQL query to sort everything where X = Y, in this case where CompanyID = XXX. All values in which CompanyID are not XXX should appear after all results in which CompanyID = XXX.
I do not want to limit my request, but I want to sort a specific company over other lists.
Kevin source
share