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
123767106684446329224.8504723.1620321.6200720.9912220.64683
123767106684446328823.3263223.1486222.2275121.3488122.6124
123767106684446327625.1857723.5107425.1420824.45322.46887
123767106684446327625.1857723.5107425.1420824.45322.46887
123767106684446327424.053821.2041420.5324719.5730219.42411
123767106684446327424.053821.2041420.5324719.5730219.42411
123767106684446327023.1582322.5865921.2993420.8166121.14425
123767106684446326523.7391625.6807922.9872123.6805122.65859
123767106684446326523.7391625.6807922.9872123.6805122.65859
123767106684446326523.7391625.6807922.9872123.6805122.65859