how to display only first 4 letters from a column in mysql code example
Example 1: mysql get first x characters
SELECT LEFT(title , 10) FROM articles;
Example 2: mysql query first character
SELECT author FROM lyrics WHERE author LIKE 'B%';
SELECT LEFT(title , 10) FROM articles;
SELECT author FROM lyrics WHERE author LIKE 'B%';