New email today is:
bethaber@gmail.com:
Hi There - I tried to run a sql query using the edit and selecting the field "CompanyName" from the mysql database in phpadmin and it returns all rows rather than the one I am searching for which starts as "Dem*"
I cut and pasted a sql query from an access database that contain the exact data from the mysql database as follows:
SELECT [table 1].CompanyName
FROM [table 1]
WHERE ((([table 1].CompanyName) Like "*Deme*"
);
This returns an error in the sql query in MYSQL that says:
#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '[table 1].CompanyName FROM [table 1] WHERE ((([table 1].CompanyName) Like "*De' at line 1
I would like to use the edit and narrow my search, but I can't figure out how to do this. Any suggestions would be appreciated. Thanks so much. -Beth