The LIKE command works fine, it was just SELECT WHERE that didn't. All sorted now though:
It seems to be something with the way the textfile was imported. I initially did it using the command LOAD DATA INFILE, and got the above errors.
Last night I downloaded mysqlfrontend from zdnet, and...
sure,
table name = aircraft
fields
aircraft_id varchar(10)
manufacturer varchar(50)
model varchar(50)
mark varchar(20)
a query of select * from aircraft; returns=
|"air693" | "Vickers Supermarine" | "Spitfire" | "LF IX B"...
I have imported my data ok, as when I run the query
select * from tablename;
all the records are displayed ok. However if I try the query
select * from tablename where columnname = "condition";
I get the message empty set, even though I can see the condition from the first query...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.