Your SQL command was:
 SELECT TOP 100 
 g, 
 run, 
 rerun, 
 camcol, 
 field, 
 objID 
 FROM Galaxy 
 WHERE ( (g <= 22) 
 and (u - g >= -0.27) 
 and (u - g < 0.71) 
 and (g - r >= -0.24) 
 and (g - r < 0.35) 
 and (r - i >= -0.27) 
 and (r - i < 0.57) 
 and (i - z >= -0.35) 
 and (i - z < 0.70) ) 

Your query output (max 500,000 rows):

grunreruncamcolfieldobjID
20.76889657230122121237673700209459417
20.44965657230121891237673700207952038
20.47382657230121891237673700207952055
20.8968367523016291237674475439063294
21.0012867523016461237674475440177448
20.6283767523016461237674475440177453
21.8438667523016481237674475440308921
21.2474367523016291237674475439063288
21.9941167523016421237674475439915667
21.9555367523016301237674475439128946
21.73916657230121141237673700203037190
21.56764657230121311237673700204151207
21.48362657230122211237673700210049088
16.97945657230122221237673700210114590
17.91646657230122221237673700210114591
21.0147265723012871237673700201267363
21.69051657230122021237673700208804150
21.3536265723012871237673700201267615
20.77446657230121171237673700203233431
17.24260733016771237671559159414899
21.60329657230121831237673700207558706
20.40907657230121171237673700203233433
21.67823657230121281237673700203954459
21.59646657230122191237673700209918118
21.7671765723012311237673700197597794
21.7110765723012521237673700198974040
21.4122465723012631237673700199694455
21.240367523016311237674475439194423
21.1772967523016351237674475439456535
21.8425467523016421237674475439915267
21.4262167523016451237674475440111971
21.279867523016291237674475439063296
21.4060567523016301237674475439128936
21.98172130230153341237651067350418055
21.4463130230153621237651067352253099
21.92428657230122021237673700208804298
21.81944657230121291237673700204020014
21.69033657230121501237673700205396484
21.88374657230121031237673700202316514
21.88295130230153791237651067353366847
21.92826130230153881237651067353956848
20.2985667523016271237674475438932297
21.6984367523016301237674475439128888
21.8406923043014591237655370352755225
21.95051230430141591237655370359308732
21.84911230430141621237655370359505172
21.82247776530131041237678824635237353
21.63812776530131281237678824636809997
21.8149467523016441237674475440046501
18.2431367523016311237674475439194221
20.7875367523016421237674475439915168
21.3590867523016481237674475440308776
20.9288967523016311237674475439194699
20.6244967523016331237674475439325374
21.38772657230121011237673700202185305
20.82537657230122071237673700209131572
21.8030867523016281237674475438997694
21.9588467523016341237674475439391359
21.8308967523016331237674475439325637
20.6000267523016341237674475439391219
21.2515667523016401237674475439784446
19.7874367523016381237674475439653124
21.662565723012171237673700196679987
21.29826657230121401237673700204740995
21.3580965723012531237673700199039541
21.80408657230121101237673700202774751
21.95992657230121281237673700203954483
21.72371657230121971237673700208476915
21.14703230430141831237655370360881417
21.97627230430142061237655370362388991
21.62212657230121961237673700208410919
21.6129865723012211237673700196942037
20.76805657230121881237673700207886580
19.20955657230121391237673700204675305
21.67358657230121731237673700206903520
21.84113657230122171237673700209787158
21.10384657230122201237673700209983849
21.80828657230122091237673700209263109
21.1035965723012771237673700200612035
20.7276936973011741237661351632568593
18.3796236973011541237661351631257705
21.7375836973011161237661351628767741
20.8346436973011231237661351629226295
20.8449236973011291237661351629619522
20.1834236973011301237661351629684992
20.2467336973011301237661351629685013
21.9264236973011431237661351630536993
20.9210956413011981237669701050564842
21.961656413011391237669701046698518
21.6880456413011401237669701046763757
21.8278556413011481237669701047288309
19.2114756413011611237669701048139909
21.7619236973011491237661351630930318
20.8574936973011671237661351632109816
21.1826336973011691237661351632240943
20.5181436973011831237661351633158349
19.6075836973011871237661351633420521
21.7922236973011421237661351630471552
20.414936973011461237661351630733534
21.6995254013011281237668670253826274

Use the button below to upload the results of the above query to the SAS and retrieve the corresponding FITS files:

Upload list of fields to SAS