AS SELECT ScreenDDS.ID, ScreenDDS.ScreenName,
	Occurrences.StartRow, Occurrences.EndRow, Occurrences.StartCol, Occurrences.EndCol, Path2.PathStr AS screenPath
FROM  
       ScreenDDS LEFT JOIN Occurrences on Occurrences.OccurID = ScreenDDS.OccurId
       LEFT JOIN Paths Path2 on Path2.PathID = Occurrences.PathID
WHERE (ScreenDDS.ID in (Select * from #numeric_param_temp))