SELECT * FROM teams A, Cities B WHERE a.teamcityid = b.cityid and teamid=20529