SyntaxFix
Write A Post
Hire A Developer
Questions
Use this:
SELECT * FROM tablename ORDER BY priority desc, FIELD(name, "core")