MySQL FIELD 函数
-
定义和用法
FIELD - 返回对应字符串的索引。 -
语法
返回str1,str2,str3,...列表中str的索引(从1开始的位置)。 如果找不到str,则返回0。 -
示例