Update first-query.sql

Added the distance and neighborObjID to the selcet.
Update first-query.sql

I ran the first edit and it didn't work. I added this second outer join to the Neighbor's table. The other option is to pull N.distance form the innermost query and carry it back up. This seems sufficient.
Merge pull request #1 from CherenkovRad/patch-1

Update first-query.sql