I'm trying to write a query using LIKE. I know how to do this when I'm comparing a field to a string, but how do I do this when comparing a field to another field?
So where we do this:
WHERE table1.field1 LIKE "*joe*"
How do I do this:
WHERE table1.field1 LIKE table2.field2
Any ideas?
Thanks!
MitchJP
So where we do this:
WHERE table1.field1 LIKE "*joe*"
How do I do this:
WHERE table1.field1 LIKE table2.field2
Any ideas?
Thanks!
MitchJP