FIELD是mysql的自定义排序函数: ORDER BY FIELD(str,str1,str2,str3,...) 说明:str是字段,str1,str2,...是自定义排序的值。 举例说明: 以上两幅图就看懂FIELD()的用法了吧! 相关文章: