Amilo
Jan 21st 2007, 7:44 pm
I have a simple database with one table and 2 columns (id,company).
These statements do not work:
SELECT * FROM names where company = '%A'
SELECT * FROM names where company LIKE '%A'
But the query,s below pull everything from the table including names begining withe the letter A
SELECT * FROM names where company <= '%A'
SELECT * FROM names where company NOT LIKE '%A'
I have around 50 companies starting with the letter A
Any ideas please ?
These statements do not work:
SELECT * FROM names where company = '%A'
SELECT * FROM names where company LIKE '%A'
But the query,s below pull everything from the table including names begining withe the letter A
SELECT * FROM names where company <= '%A'
SELECT * FROM names where company NOT LIKE '%A'
I have around 50 companies starting with the letter A
Any ideas please ?