--query 1
select distinct af.Code from AIR af inner join
Float spf on spf.Station = af.AirID or
spf.DeptStation = af.AirID
--query 2
select distinct af.Code from AIR af
inner join Float spf on spf.Station = af.AirID
inner join Float spf1 on spf.DeptStation = af.AirID
In the first query i get a few more entries (around 10) when compared to second. As per me, this difference should not be there. If someone can break down the queries to tell me the difference (if any) it will be helpful.