Product Solutions Support
Try MemSQL

LEFT

Extracts the specified number of characters from the left end of a string

LEFT(str, len)

Arguments

Return Type String

Examples

memsql> select left("1234567", 3);
+- -------------------+
| left("1234567", 3) |
+- -------------------+
| 123                |
+- -------------------+

Was this article useful?