I have a database with a large number of words but i want to select only those records where the character length is equal to a given number (in example case 3):
SELECT * FROM my_table WHERE substr(my_field,1,5) = "abcde";