A field (string) is into other field (string)

V

Victor2020

Using 2 tables I want to get the rows that match where the content of the
field (string) is equal or is into other field (string) from other table.
 
M

Marshall Barton

Victor2020 said:
Using 2 tables I want to get the rows that match where the content of the
field (string) is equal or is into other field (string) from other table.


SELECT tbl1.*, tbl2.*
FROM tbl1, tbl2
WHERE tbl1.field Like "*" & tbl2.field & "*"
Or tbl2.field Like "*" & tbl1.field & "*"
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top