mysql how to get string code example Example: mysql get first x characters SELECT LEFT(title , 10) FROM articles;