Your SQL command was:
SELECT TOP 100
 s.apogee_id,s.ra, s.dec, s.glon, s.glat,
 s.vhelio_avg,s.vscatter,
 a.teff, a.teff_err, a.logg, a.logg_err, a.m_h, a.m_h_err,
 a.alpha_m, a.alpha_m_err,
 dbo.fApogeeAspcapFlagN(a.aspcapflag),
 dbo.fApogeeStarFlagN(s.starflag)
FROM apogeeStar s
 JOIN aspcapStar a on a.apstar_id = s.apstar_id
WHERE (a.aspcapflag & dbo.fApogeeAspcapFlag('STAR_BAD')) = 0 and
 s.commiss = 0 and
 (s.apogee_target2 & (dbo.fApogeeTarget2('APOGEE_CALIB_CLUSTER')) != 0)

Your query output (max 500,000 rows):

apogee_idradecglonglatvhelio_avgvscatterteffteff_errlogglogg_errm_hm_h_erralpha_malpha_m_errColumn1Column2
2M18091666-2554424272.319437-25.9117985.2484198933-3.02806076445-10.951803837.41463.983831.1719590.050551-0.15448150.0079709270.1585390.006937792PERSIST_MED
2M06530386+1655157103.26612316.921043197.9545646467.9760836584125.49870.02120454069.7182.858181.2512580.05520347-0.47017150.011311110.0483480.01027252PERSIST_HIGH
2M06530436+1655541103.26819416.931719197.9457542537.982547032425.42330.07614433948.45568.609180.93699840.05700585-0.50864150.0090720790.0513310.008496458COLORTE_WARN STAR_WARN
2M06531569+1656176103.31540716.938234197.9598427568.0259952096326.90270.1892964726.749114.97872.4593970.06119959-0.43436150.013245150.0420870.01270958SN_WARN STAR_WARN PERSIST_HIGH
2M18044775-3003469271.198983-30.0630491.12887910287-4.1716984164215.6770.03005984131.52791.996541.7403780.04849062-0.082255550.011457930.1822890.009664185SN_WARN STAR_WARN
2M18045107-3002378271.212833-30.0438351.15155760519-4.17283739409210.7280.05180084113.81487.24091.7585430.04993073-0.14277150.010747910.1025490.009283428
2M16315197-1303389247.966562-13.0608183.2602247715123.1349361694-37.20270.487344996.065105.9092.7297040.07935147-0.88696150.012004780.2712590.01324443PERSIST_HIGH BRIGHT_NEIGHBOR
2M16315358-1302179247.973264-13.0383233.2839628413123.1434315342-34.45830.5768665055.926125.03152.8928480.07796765-0.93086150.016453140.2886690.01712356PERSIST_HIGH
2M16315698-1255322247.98743-12.9256273.3904420207823.2009522598-18.07690.8736655764.221140.48764.4781220.08754796-0.2050290.014138920.1412850.01142744LOW_SNR
2M16315926-1303045247.996957-13.051273.2880436667923.1172342202-34.8730.7809055030.83131.92.8814210.07619426-0.94135150.01829640.3015990.01862965PERSIST_HIGH LOW_SNR
2M16320382-1308186248.01594-13.1385133.224973682223.0495080983-33.44360.7616884946.367126.74692.7767030.07580982-0.98568150.017470190.3977490.01808854PERSIST_JUMP_POS PERSIST_MED PERSIST_HIGH LOW_SNR BRIGHT_NEIGHBOR
2M16320984-1256246248.041033-12.9401863.4123674040423.1506029866-6.469163.061385463.883132.18034.526550.09073828-0.1867390.01297231-0.00911580.009545001LOW_SNR
2M16321238-1310161248.051603-13.171143.2197785259823.0020989036-49.76910.5180475525.313145.02164.0656450.08727332-0.1184790.014403890.1328650.01011405SN_WARN COLORTE_WARN STAR_WARN PERSIST_JUMP_POS PERSIST_MED PERSIST_HIGH LOW_SNR BRIGHT_NEIGHBOR
2M16321705-1304224248.071046-13.0728923.317053988323.046778171-34.78731.496265779.854163.76012.2295350.1042026-1.3011620.036597240.3605290.03324538ROTATION_WARN STAR_WARN SUSPECT_BROAD_LINES SUSPECT_RV_COMBINATION PERSIST_MED PERSIST_HIGH LOW_SNR BRIGHT_NEIGHBOR
2M16322086-1302131248.086924-13.0369933.3582572850223.0562945404-38.68640.2105244912.414120.67612.6641460.07395832-0.89237150.015626640.2719490.01621668
2M16322299-1304311248.095793-13.0753253.3308651409523.0261516017-35.86261.054055493.866142.20272.2539910.09914973-1.2277620.023958870.3534190.02424887PERSIST_MED PERSIST_HIGH LOW_SNR BRIGHT_NEIGHBOR
2M16322557-1301040248.106567-13.0177983.3874609743423.0527416431-34.45080.4401035153.575144.14322.2543030.06979094-1.0874620.022340130.3770890.0225264SN_WARN STAR_WARN PERSIST_HIGH
2M16322581-1302580248.107555-13.0494533.3607608641623.0327594239-30.35030.5438854964.128113.88872.0318240.07917693-0.99589160.014289650.2793690.015518COLORTE_WARN STAR_WARN
2M16322656-1307485248.110679-13.1301413.2931270139622.9813372935-35.27861.380125314.672134.2532.2914140.0820197-1.2643620.020800690.1856290.02211665ROTATION_WARN STAR_WARN SUSPECT_BROAD_LINES PERSIST_JUMP_POS PERSIST_MED PERSIST_HIGH LOW_SNR BRIGHT_NEIGHBOR
2M16322679-1313561248.111633-13.2322573.2056763339322.9185386743-15.78490.6738695647.028153.94653.9404950.08430862-0.077699550.021832870.0419290.01709863SN_WARN STAR_WARN PERSIST_JUMP_POS PERSIST_MED PERSIST_HIGH LOW_SNR BRIGHT_NEIGHBOR
2M16322703-1256227248.112652-12.9396653.4588759001223.0954406804-35.5740.8741225580.947134.10772.3711690.1045533-1.0544620.021189850.3723590.02102933LOW_SNR
2M16323024-1257541248.126039-12.9650443.4455470846823.0696734409-36.6990.6509865383.949120.55062.4243360.08301584-0.99300150.015971710.3753690.01688884LOW_SNR
2M16323074-1300198248.128122-13.005513.4119261277223.0435081318-39.42970.03456994752.645112.05312.2744370.07147959-0.89540150.014378810.2219390.01502809COLORTE_WARN STAR_WARN
2M16323084-1254593248.128528-12.9164743.48912384323.0972033328-34.69310.5685185018.417120.42222.8559940.07824113-0.94871160.015491370.2848190.01638711LOW_SNR
2M16323280-1305046248.1367-13.0846183.3491307012622.9888505181-28.90040.7558494973.876120.14742.497910.05454079-0.89929160.01531740.3320590.01603966PERSIST_MED PERSIST_HIGH LOW_SNR
2M16323294-1306483248.13729-13.1134423.3246334179622.9708921357-36.64090.4296064891.288127.93982.5561650.07307074-0.93990150.017783950.2654790.01810028SN_WARN COLORTE_WARN STAR_WARN PERSIST_MED PERSIST_HIGH
2M16323392-1303225248.141341-13.0562773.3765776800923.0024623829-30.8810.8725365540.012134.06392.4344180.1009415-1.1079620.021122160.3504690.02131406PERSIST_MED PERSIST_HIGH
2M16323677-1302219248.153221-13.0394313.3987536667523.0034877306-34.73060.002643454735.189111.1942.1776050.07122027-0.89646150.014285890.2430190.01493094
2M16323915-1309444248.163144-13.1623593.2990341367822.9211825258-32.36180.7743854914.49120.90572.5365610.0765942-1.0091620.016231970.3204890.01714247COLORTE_WARN STAR_WARN PERSIST_JUMP_POS PERSIST_MED PERSIST_HIGH LOW_SNR VERY_BRIGHT_NEIGHBOR BRIGHT_NEIGHBOR
2M16324036-1308024248.168201-13.1340093.3267377947222.9344850641-38.51431.073425176.323148.26413.0021810.07701034-0.92278150.022459760.2856390.021802SN_WARN STAR_WARN PERSIST_JUMP_POS PERSIST_MED PERSIST_HIGH LOW_SNR
2M16324272-1306583248.178039-13.116213.3484115478422.9376769868-33.02111.190815017.487136.83242.728890.07739219-1.0489620.020267710.3829890.02065323SN_WARN STAR_WARN PERSIST_JUMP_POS PERSIST_MED PERSIST_HIGH LOW_SNR BRIGHT_NEIGHBOR
2M16324274-1304383248.178105-13.0773263.38201394922.961225094-31.70860.6607824991.586118.57822.6930980.0769703-0.91037150.01494560.2983690.01578591COLORTE_WARN STAR_WARN PERSIST_JUMP_POS PERSIST_MED PERSIST_HIGH LOW_SNR
2M16324415-1301347248.183987-13.0263263.4298247312122.9876108785-30.38120.2630334927.523115.45152.5742190.07560274-0.90051160.014365490.2814790.01522878
2M16324492-1300124248.187203-13.0034463.4516509799122.9989958004-34.18120.675515345.097127.97082.2562950.082164-1.1138620.018322510.3207190.01934798
2M16324529-1258059248.188724-12.9683183.4829759800923.0191163316-36.9490.4040724977.307108.1192.6336150.07896262-0.91544160.012625860.2773090.01385172
2M16324667-1303279248.194469-13.0577543.4094141489422.9604287528-36.30250.6206414887.015111.86042.564210.07677394-0.96814160.013967060.3519490.01508783PERSIST_JUMP_POS PERSIST_MED PERSIST_HIGH LOW_SNR
2M16324671-1309076248.194645-13.1521373.3280720548922.9030169517-33.60281.258345297.851131.73882.2629180.09056447-1.1913620.019621020.3230790.02080112COLORTE_WARN STAR_WARN PERSIST_JUMP_POS PERSIST_MED PERSIST_HIGH LOW_SNR
2M16325004-1300513248.208505-13.0142643.4559777081522.9759318731-29.86970.8893355318.336126.86422.2621450.08027092-1.1660620.018209010.4563190.01950229LOW_SNR
2M16325489-1303176248.228714-13.0548893.4338594279522.9356427231-32.80931.225845556.622150.76622.3113060.1057361-1.1036620.026457590.3549290.02533475SUSPECT_RV_COMBINATION PERSIST_JUMP_POS PERSIST_MED PERSIST_HIGH LOW_SNR
2M16325559-1259536248.231651-12.9982333.4846743429422.9677142552-36.77524.890675325.871127.22284.0078540.09152387-0.15341160.013796970.0339850.01250516LOW_SNR
2M16325977-1305120248.249072-13.0866793.419470274722.9005970074-32.14230.7330215072.392141.15172.827240.07643185-0.97279160.020864470.3031190.02080097SN_WARN STAR_WARN PERSIST_JUMP_POS PERSIST_MED PERSIST_HIGH LOW_SNR
2M16331316-1306030248.304836-13.1008393.4429862361322.8488177873-33.7340.6437874949.521112.54552.592080.07778036-0.94159160.013794930.2885190.01490747PERSIST_MED PERSIST_HIGH LOW_SNR BRIGHT_NEIGHBOR
2M16332087-1303571248.336979-13.0658693.493759597122.8450992593-6.350930.3788885299.849125.49914.0187170.079619890.2945810.009429827-0.0460280.005194999PERSIST_JUMP_POS PERSIST_MED PERSIST_HIGH LOW_SNR BRIGHT_NEIGHBOR
2M16410507+3628208250.27114436.47245859.00633277541.0348864589-242.2190.2604894969.092137.68442.3458630.08482593-1.4221620.023112660.1186990.02480054SN_WARN COLORTE_WARN STAR_WARN PERSIST_HIGH BRIGHT_NEIGHBOR
2M16410536+3621553250.27234236.36537958.865378090541.0222386773-238.6270.67215157.006142.62072.6235950.09475334-1.5998620.025399780.0727290.02791153COLORTE_WARN STAR_WARN PERSIST_LOW PERSIST_MED PERSIST_HIGH VERY_BRIGHT_NEIGHBOR
2M16411882+3628232250.32842636.47313759.013857429340.9891700253-239.6760.373785067.023123.63772.3683620.09284134-1.4902620.018961120.1820490.02166286COLORTE_WARN STAR_WARN PERSIST_HIGH BRIGHT_NEIGHBOR
2M16411948+3630280250.33117136.50777859.059796228440.9907387971-243.070.4543165090.258124.29972.4363270.09243561-1.4527620.018894530.1621390.02143594PERSIST_HIGH
2M16412470+3625193250.35293236.42204358.949442491640.9639881744-245.3440.2559044886.428133.6662.2280860.08378322-1.4506620.022543950.0644910.02435996PERSIST_HIGH
2M16412729+3632226250.36374536.53961959.10547921140.9681635498-244.2330.2912335003.224128.81452.2857370.08789522-1.4286620.020302870.0978990.02248768COLORTE_WARN STAR_WARN PERSIST_HIGH
2M16412815+3625274250.36731736.42429758.954093518640.9527310527-247.440.07316324893.36103.37441.646180.0926801-1.5073620.014148280.1425390.01717369PERSIST_HIGH
2M16412844+3627332250.3685336.45922559.000204062740.9555923185-244.9190.2919284933.704127.91492.2252110.08380782-1.3469610.019858820.0437220.02163443PERSIST_HIGH
2M16413072+3630075250.3780136.50209459.057729048340.9526947283-236.2190.1952874931.744121.81242.1582790.08256395-1.2473620.01759941-0.03844580.01926238PERSIST_HIGH
2M16413125+3628022250.38024236.46727859.012167172340.9471108444-241.7950.1115034707.74499.35291.8166550.0845537-1.3854620.013631420.0074060.01597872PERSIST_HIGH
2M16413182+3628553250.38261136.48204459.031875126340.9468314795-237.8830.1345344948.146117.0512.198640.08296061-1.2009620.01604508-0.0665860.01775756PERSIST_HIGH
2M16413327+3632285250.38864936.54126459.110513711540.9484505564-245.4130.1784014979.284114.27322.2082740.09039724-1.4248620.016285280.1405090.01890612COLORTE_WARN STAR_WARN
2M16413392+3630057250.39136536.50159559.058620687240.9419690137-237.3620.1978824434.83886.280611.3389610.07927912-1.3246610.01199515-0.0058860.01379481PERSIST_HIGH
2M16413437+3625048250.39322436.41801558.94886639640.9313194204-247.2470.1389554506.47788.52851.4670560.08152574-1.3676620.012188580.0642190.01424164PERSIST_HIGH
2M16413482+3627197250.39511836.45549458.99839666640.9339275582-242.1630.1250414290.27183.720031.1059230.07924145-1.4470620.013099260.0735490.0148222PERSIST_HIGH
2M16413500+3625253250.39584736.42370658.956661179940.9298489897-247.9350.08744484645.987107.49361.7133420.08231939-1.4544620.016669550.2030790.01883621PERSIST_HIGH
2M16413725+3629368250.40523336.49357659.049679507240.9300122829-237.490.04651594395.69587.10191.3022060.08294015-1.5271620.013375950.2096590.01559765PERSIST_HIGH
2M16413806+3627494250.40860636.46372659.010802132240.9240482562-245.1460.05445284353.9685.127241.3054560.07995227-1.4257620.01278510.1161990.01463397PERSIST_HIGH
2M16413902+3626352250.41260136.4431358.984177143940.9185909478-233.6350.1050414826.307112.43011.9633030.08306304-1.3117610.01595883-0.03962010.01797561PERSIST_HIGH
2M16413933+3635509250.41388836.59748559.1874053940.9343752529-239.0583.761815826.651180.56582.2463990.1243979-1.9409620.05351430.3444190.05141171COLORTE_WARN STAR_WARN SUSPECT_RV_COMBINATION
2M16413987+3629173250.41613636.48814859.043806998840.9207058686-243.1720.2122484836.651127.88242.0889060.08373368-1.4627620.021181170.1528990.02318243PERSIST_HIGH BRIGHT_NEIGHBOR
2M16414052+3631365250.41884136.52680659.094977014140.9227641882-239.2520.1749295007.402119.59652.2249660.09216656-1.5036620.018052640.2019790.02087096COLORTE_WARN STAR_WARN
2M16414053+3624430250.41887636.41194958.943904540740.9101326634-245.5090.2972175134.355137.87672.530420.08775464-1.3346620.022095210.1114190.02359874PERSIST_HIGH
2M16414108+3627550250.421236.46527959.014316274240.9141515282-254.5310.1197724634.9492.67711.7165510.08564389-1.4416620.012650040.1096390.01513536PERSIST_HIGH
2M16414459+3625536250.4358236.43155758.97168260240.8987489777-246.7560.1556485064.997138.90532.3593040.08354566-1.2629620.02206027-4.99934E-060.02316846PERSIST_HIGH BRIGHT_NEIGHBOR
2M16414478+3623273250.436636.39094258.918374322740.8936267365-245.2420.05772924669.962112.94351.8331210.08332644-1.5189620.01841770.2188190.02070398COLORTE_WARN STAR_WARN PERSIST_HIGH BRIGHT_NEIGHBOR
2M16414545+3630114250.43937836.5031759.066270833940.9037774837-236.8840.3277944674.00799.966161.4895940.08824077-1.5763620.01488920.1416390.01777588PERSIST_HIGH
2M16414547+3629586250.43946336.49962659.061619903540.9033217158-245.7910.1947924510.10488.997291.5606810.08247963-1.4080620.012439550.0838590.01460432PERSIST_HIGH
2M16414572+3622501250.44050236.38058958.905225771840.8893541165-253.7270.04986394891.313119.88752.0830570.08614461-1.4222620.018207730.1587490.02050696COLORTE_WARN STAR_WARN PERSIST_HIGH
2M16414664+3628203250.44436536.47232159.02628522240.8964091455-242.1070.1588384501.41892.380691.4277140.0803805-1.3709620.01325437-0.0036840010.01520222PERSIST_HIGH
2M16414680+3627039250.44502636.45109658.99845458740.8935443333-248.2680.1885734682.60192.208791.7147850.08218479-1.2418620.01148366-0.02509470.01351249PERSIST_HIGH
2M16414718+3627438250.44659836.46218959.013224209740.8935097187-258.8990.05163074585.85589.90681.5125660.08131859-1.2899620.011698030.020780.01369892PERSIST_HIGH
2M16414739+3625111250.44749836.41975858.957544409840.8881053205-248.4420.1099794798.91495.99781.726750.08498131-1.2540620.011789370.0116110.01399049PERSIST_HIGH
2M16414819+3635413250.45079436.59482259.188135133840.904630696-246.4990.4644775165.022131.49522.5614110.09165642-1.3924620.020543790.1870090.0225929
2M16415030+3624157250.45962436.40436258.938737841140.8766994802-253.6590.8357894469.81386.582251.2734480.0785186-1.2585610.01155767-0.0094680.01327693COLORTE_WARN STAR_WARN PERSIST_HIGH
2M16415037+3623417250.459936.39493258.926376315340.8754306491-243.3290.1319074928.215116.31582.0272510.08539898-1.3157620.016491720.0487020.01858757COLORTE_WARN STAR_WARN PERSIST_HIGH
2M16415092+3628545250.46219836.48181959.040858185440.8832007189-249.1370.1794614407.6785.469881.1165560.07850647-1.3113620.01195353-0.0808050.01366231PERSIST_MED PERSIST_HIGH
2M16415160+3629363250.46502536.49342359.05644371340.8822164539-245.9610.384735108.669140.87672.2140540.08792349-1.3954620.023448950.0778490.02504566PERSIST_HIGH
2M16415378+3626140250.47410936.43722558.98363915440.8687597414-253.1330.0694464971.657127.98622.2738470.08383933-1.3022620.019442290.0095059980.02111228PERSIST_MED PERSIST_HIGH BRIGHT_NEIGHBOR
2M16415411+3626092250.47547336.43590958.982070289240.8675234178-245.060.3428374797.468108.61471.9440450.08206226-1.2698620.014933950.0494970.01687312PERSIST_HIGH
2M16415462+3627229250.47761736.45638759.009235755340.8680741432-255.7490.06276014535.251102.92131.5773260.08129865-1.4863620.01648410.1642990.01855567PERSIST_HIGH
2M16415494+3627421250.47895636.461759.016375762740.8675904603-247.6960.01327734854.938118.13472.1386470.08458835-1.3901620.017748420.0902590.01991PERSIST_MED PERSIST_HIGH BRIGHT_NEIGHBOR
2M16415747+3619559250.48947336.33219558.847465692940.844750962-246.8170.4932835168.596145.19912.5691910.08978827-1.4243620.024958740.2229790.02647664PERSIST_MED PERSIST_HIGH BRIGHT_NEIGHBOR
2M16415842+3628312250.49344936.47533459.035993942940.8575111309-237.5020.1399584961.572127.73952.2826820.0855069-1.3785610.019861710.0813390.02182101PERSIST_HIGH
2M16421358+3628365250.55660236.47682259.045370597540.8072055301-241.8180.3228995130.033121.53232.4062730.09278646-1.3927620.017749340.0776690.02015951COLORTE_WARN STAR_WARN
2M16421367+3633148250.55699436.55412359.146926438340.815417543-249.2290.4015025331.209135.09032.7037170.09347688-1.2831620.021211150.1102490.02253773COLORTE_WARN STAR_WARN PERSIST_LOW
2M16421650+3626137250.5687836.43715758.994736512240.7930604098-251.6480.08406035015.17121.77192.2607160.08987588-1.4289620.018237990.2199890.02069805
2M16421716+3631331250.57152836.52587959.11153447740.8007047061-246.6150.5170565197.976129.36062.5806630.09221067-1.3548610.01971230.1684790.02169413
2M16421889+3630156250.57873436.50433759.084097806940.7925692568-248.1790.3400145470.411143.07022.829850.09712013-1.3014620.024539960.0851790.02516392
2M16421910+3637033250.57962236.61758459.232893714540.8042958884-244.0640.2728855112.522117.55332.4167610.09333847-1.3987620.016724250.1634090.01926886PERSIST_LOW
2M16423056+3619513250.62733936.33093358.86239126740.7342550793-252.4490.5309055188.866145.86162.6555230.09398479-1.5573620.026155490.2737590.02828846PERSIST_MED PERSIST_HIGH BRIGHT_NEIGHBOR
2M16423238+3629577250.63491936.49937859.084205999840.7471343091-244.5010.3684645161.849125.51152.4983280.09149413-1.3409620.01855190.0679690.02063017BRIGHT_NEIGHBOR
2M21290843+1209118322.28513812.15328964.8554086483-27.1643055138-108.3260.4244374713.22499.830591.3613650.09913643-1.9168620.016173060.0174360.02051573
2M21291305+1211149322.30440112.18749764.898549684-27.1571332329-99.80840.7414784739.297105.80161.4927250.1134562-2.3985610.020660190.3695490.02766171PERSIST_LOW
2M21292692+1207266322.36217812.12406364.8837943799-27.2410488025-176.7430.1399475174.254106.40332.3557150.0654671-1.0294620.012449090.3317390.01410707PERSIST_LOW
2M21293312+1212509322.38800412.21416664.9800703209-27.2032805998-111.0291.170375013.159116.11341.779520.1221788-2.4095620.022331540.2930190.03011264 SUSPECT_RV_COMBINATION PERSIST_LOW BRIGHT_NEIGHBOR
2M21293516+1214396322.39653412.24433965.0122108529-27.1905257812-66.82130.1424684927.906100.81842.4069560.04775639-0.51247160.0099278480.1904290.01048319