In MySQL, the OCT() function is used for converting from decimal to octal.
More precisely, it returns a string representation of the octal value of its argument.
In MySQL, the SUBSTR() function returns a substring starting from the specified position.
Both SUBSTR() and MID() are synonyms of SUBSTRING().
In MySQL, the MID() function returns a substring starting from the specified position.
Both MID() and SUBSTR() are synonyms of SUBSTRING().
In MySQL, the MAKE_SET() function returns a set value (a string containing substrings separated by , characters) consisting of the characters specified as arguments when you call the function.
When you call the function, you specify any number of strings (separated by a comma), as well as one or more bit values that determine which strings to return in the set value.