How I do query like this ?
select Distinct Station , Slot , SubSlot, CompID , CompName
from DeviceTrace as DT DT.DeviceID = '1339759958'
inner join CompList as CL
where and DT.CompID = CL.CompID
I need to do DT.DeviceID = '1339759958'
before I start with the inner join.
I work with sql server.