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