select * FROM (select Pop FROM MyTable) p join tadaa t where p.x=t.y