Hi, I have the following select statement; SELECT DISTINCT dbo.TblAuto_coll.Prac_no AS UnProc_Prac_noFROM dbo.TblAuto_coll INNER JOIN dbo.QryManualRequest ON dbo.TblAuto_coll.Prac_no <> dbo.QryManualRequest.prac_no LEFT OUTER JOIN [GPRD-RCT].dbo.Practice ON dbo.TblAuto_coll.Prac_no = [GPRD-RCT].dbo.Practice.PracNoWHERE ([GPRD-RCT].dbo.Practice.PracNo IS NULL)
The problem is it still gives values when dbo.TblAuto_coll.Prac_no <> dbo.QryManualRequest.prac_no
For example, 17 & 91 are present in QryManualRequest and dbo.TblAuto_coll, therefore, I dont expect them.. Results Prac_no3710179144How can I update this query to receive:Prac_no371044Thank u