Your SQL command was:
 SELECT TOP 10 G.ObjID, G.u, G.g, G.r, G.i, G.z 
 FROM Galaxy AS G 
 JOIN Star AS S 
 ON G.parentID = S.parentID 
 WHERE G.parentID > 0 

Your query output (max 500,000 rows):

ObjIDugriz
123766075033301833824.6346725.1143821.9840520.8876122.8269
123766075033301833824.6346725.1143821.9840520.8876122.8269
123766075033301833824.6346725.1143821.9840520.8876122.8269
123766075033301833824.6346725.1143821.9840520.8876122.8269
123766075033301833824.6346725.1143821.9840520.8876122.8269
123766075033301833824.6346725.1143821.9840520.8876122.8269
123766075033301833824.6346725.1143821.9840520.8876122.8269
123766075033301833824.6346725.1143821.9840520.8876122.8269
123766075033301833824.6346725.1143821.9840520.8876122.8269
123766075033301834024.1857924.5137824.9564922.6586523.21704