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
123766322852973783925.082923.8514220.1533822.0704718.6309
123766322852973783925.082923.8514220.1533822.0704718.6309
123766322852973784624.3555123.0665822.5427623.8782123.57092
123766230564805027522.2816124.6460624.6214723.8660323.01614
123766230564805027522.2816124.6460624.6214723.8660323.01614
123766230564805027522.2816124.6460624.6214723.8660323.01614
123766230564805027522.2816124.6460624.6214723.8660323.01614
123766230564805035124.6262123.4559423.4973223.0142923.13301
123766230564805035124.6262123.4559423.4973223.0142923.13301
123766230564805035124.6262123.4559423.4973223.0142923.13301