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
21.84157806730141081237680122252493511
20.95656806730141141237680122252886607
21.83869806730141181237680122253148581
21.58239806730141241237680122253541911
21.5843806730141321237680122254066041
21.88865806730141321237680122254066118
21.974380673014161237680122246463906
21.94531212630152931237654606400783189
21.30046212630153561237654606404911744
21.76609212630154131237654606408646963
20.9717921263015891237654606387413156
19.3681736063012981237660961328988390
21.7427536063012391237660961325121902
21.5418236063012971237660961328923105
21.93963360630121121237660961329906265
21.3158136063012281237660961324401271
21.698536063012711237660961327219428
20.93362277730131551237657401341706519
19.923448803014301237666434186609098
20.5753748803014691237666434189165294
21.43748803014751237666434189558440
21.75162277730131011237657401338167683
21.08542277730131941237657401344262425
21.3662327773013781237657401336660680
20.9202827773013791237657401336726003
21.44173383030141381237661924478026097
21.80584383030141421237661924478288232
21.87515383030141501237661924478812649
19.14075383030141501237661924478812544
21.3777383030141421237661924478288391
21.84815541630151271237668736832308518
21.4900281023013861237680272038036412
21.1711281023013621237680272036463381
21.4105981023013851237680272037970479
21.4820681023013741237680272037249683
21.9475881023013551237680272036004623
20.83871810230131191237680272040198843
21.17624777330124621237678858481565974
20.98443777330121151237678858458825300
20.11791777330122911237678858470359269
21.3365732253014581237659326017569216
21.63752369930141411237661361837506826
21.26608593430152491237670961633363925
21.1854559343015601237670961620975967
20.704759343015821237670961622417834
21.98148219030122081237654879662506512
21.47661219030122211237654879663358464
21.18057219030122351237654879664275793
20.7045627773013911237657401337512587
21.4298827773013511237657401334891202
21.81621277730131941237657401344262434
21.577227773013841237657401337053795
21.94771277730131001237657401338102240
21.02059277730131401237657401340723563
20.29891277730131821237657401343476025
21.02818277730132201237657401345966342
21.6049227773013701237657401336136318
21.35139277730132011237657401344721394
21.86867190430142541237653652378616439
21.58983511230132871237667430098993679
21.1237511230132881237667430099058979
21.44711511230132941237667430099452138
20.9469511230133061237667430100238640
18.56849511230133181237667430101024791
21.92319511230133201237667430101156110
21.66441511230133231237667430101352681
21.71584511230133291237667430101745876
20.59728511230133301237667430101811486
21.4895511230133391237667430102401241
21.54719511230133391237667430102401258
21.93603511230133421237667430102597921
19.16724511230133441237667430102728850
21.84718511230133471237667430102925633
21.67265511230133491237667430103056594
21.74512511230133531237667430103318750
20.33811511230133591237667430103711898
21.94088522430142091237667911667089890
20.40941522430142091237667911667089755
21.53067522430142101237667911667155887
20.7403522430142111237667911667220798
21.65089522430142121237667911667286555
21.89366522430142161237667911667548379
21.74164522430142211237667911667876350
19.7356522430142221237667911667941462
21.95842522430142321237667911668597370
21.71289522430142341237667911668728177
21.88048141230132631237651538718425560
21.953314123013331237651538703352401
21.17867224330142361237655108371349574
21.70278224330143631237655108379672839
21.07159224330142141237655108369908055
21.94262224330142041237655108369252614
21.7452181023013461237680272035414962
20.5251881023013241237680272033972983
20.88812810230131291237680272040853890
20.8341781023013371237680272034824898
17.58125777330122481237678858467541167
21.4320477733012261237678858452993031
21.36943447030141721237664673259323903
21.94991447030141711237664673259258877

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