I have a table where each row is a word in the dictionary.
I have been using the following query to get all the words starting with a certain character (c):
SELECT * FROM words WHERE word LIKE 'c%'
That query works fine. But when i reverse it to get words ending in a character:
SELECT * FROM words WHERE word LIKE '%c'
It doesn’t return any rows.
What am I doing wrong? Ive checked for space padding on the right and that isn’t the case.
Thanks in advance for your help!
Apparently when i added the words the the table “\r\n” was added to the end of each word. I discovered this when exporting the data to show Juergen D.
Thanks for your help guys.