标签: php sql sql-order-by
我希望使用MySQL FIELD函数完成这样的排序。
SELECT id, name, priority FROM mytable ORDER BY FIELD(priority, "core")
但我怎么能在加油php?查询生成器?