View Single Post
  #3  
Old June 5th, 2010, 02:15 PM posted to microsoft.public.access.queries
Marshall Barton
external usenet poster
 
Posts: 5,361
Default A field (string) is into other field (string)

Victor2020 wrote:

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 & "*"

--
Marsh
MVP [MS Access]