C-Sharp | Java | Python | Swift | GO | WPF | Ruby | Scala | F# | JavaScript | SQL | PHP | Angular | HTML
MySQL FIELD() FunctionField(str,str1,str2,str3,....) is a Sring function of MySQL. This method returns the index of string. Syntaxselect field(str,str1,str2,str3,...) Example 1Selct field('a','b','c','d','a'); Output: ![]() Example 2Selct field(4,1,2,3,5,4,6); Output: ![]() Example 3Selct field(12,1,2,3,4,6); Output: ![]()
Next TopicMySQL String
|