If this is your first visit, be sure to check out the FAQ by clicking the link above.
You may have to register before you can post: click the register link above to proceed.
To start viewing messages, select the forum that you want to visit from the selection below.
I can't find a syntax error with the above. I'd double check that your table name and field1 column name is entered correctly.
I do see a logic error, though. It is impossible to receive any matching rows for: field1 like '18%' AND field1 like '19%'. Field1 can't be 2 things at the same time. My guess is that you'd want to switch the "AND"s to "OR"s.