Hi All,I need to compare 2 tables:table1 : there is a field [Name]table2 : there are 2 fields Fname & LnameI need to find the records common to the tables which satisfies the following condition:table2.Fname --> in the table1.[name] AND table2.Lname --> in the table1.[name]eg.Create table #t1 ([Name] varchar(100))Insert into #t1 values ('aaa, bbb')Insert into #t1 values ('aaa, ccc')Insert into #t1 values ('bbb, aaa')Insert into #t1 values ('aaa bbb')Insert into #t1 values ('bbbaaa')Insert into #t1 values ('aa,a bbb')Insert into #t1 values ('a aa, bbb')Insert into #t1 values ('aaaa, bbb')Insert into #t1 values ('aaacc cbbb')Create table #t2 ([FName] varchar(50), [LName] varchar(50))Insert into #t2 values ('aaa','bbb')Insert into #t2 values ('ac','bbb')Expected Results of the Query:FName LName Name ----------------------------------aaa bbb aaa, bbbaaa bbb bbb, aaaaaa bbb aaa bbbaaa bbb bbbaaaaaa bbb aaaa, bbbaaa bbb aaacc cbbbac bbb aaacc cbbbSrinika