LEFT
Return the leftmost characters. This function returns the specified number of characters from the beginning (left) of a string.
Syntax
LEFT(str,len)Description
Examples
SELECT LEFT('MariaDB', 5);
+--------------------+
| LEFT('MariaDB', 5) |
+--------------------+
| Maria |
+--------------------+Last updated
Was this helpful?

