Ex: Select A.nID,A.sName from table1 A where A.sCity = (Select sCityName from table2 where nId = A.nID)
Ex: Select nID,sName from table1 where sCity in (Select distinct sCityName from table2)
Thanks, T.Saravanan
Thanks Karthik www.f5Debug.net
Login to post response