MID
Synonym for SUBSTRING(). Returns a substring starting at a specified position for a given length.
Last updated
Was this helpful?
Was this helpful?
SELECT MID('abcd',-2,4);
+------------------+
| MID('abcd',-2,4) |
+------------------+
| cd |
+------------------+