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_target1 &
 (dbo.fApogeeTarget1('APOGEE_SHORT')+
 dbo.fApogeeTarget1('APOGEE_INTERMEDIATE')+
 dbo.fApogeeTarget1('APOGEE_LONG'))) != 0

Your query output (max 500,000 rows):

apogee_idradecglonglatvhelio_avgvscatterteffteff_errlogglogg_errm_hm_h_erralpha_malpha_m_errColumn1Column2
2M17335483-2753043263.478474-27.884539359.522507172.739284701815.6770.046643562.77560.488610.71812550.041044090.30258850.0085903830.0080350.006198415
2M17335915-2742223263.496481-27.706205359.6812283372.82249299379-7.403080.2554673775.79165.925831.2213080.042256650.34432850.0076410890.050180.005944738COLORTE_WARN STAR_WARN
2M17340445-2800033263.51857-28.000935359.4437664772.64646076906-143.9920.1621093745.49679.751250.71090410.05044733-0.47919150.014946280.2749690.01184283PERSIST_HIGH
2M17341788-2757189263.574509-27.955256359.5089857622.6296529005-2.035040.02663893188.1258.81473-0.11633750.038924660.10503840.015241530.0238350.008928291COLORTE_WARN STAR_WARN PERSIST_HIGH
2M17342737-2745032263.614067-27.750895359.6999928442.71078313927101.8930.1927663680.83263.556840.47450570.05400437-0.53618160.010792780.2612590.009141873
2M17343177-2749299263.632391-27.824993359.6463663792.6570820433630.93110.6112663579.41659.355870.68888560.042201940.24783850.008266164-0.0016210.006115093
2M17343333-2818449263.638877-28.312485359.2389990472.38865205946-2.967620.1283554027.77894.57641.1244690.05616914-0.71271160.016336470.2558090.01427799PERSIST_HIGH
2M17344049-2821066263.668719-28.351835359.2200873152.34527757965100.8290.0290573683.15578.62820.64063940.040270540.21883850.01238059-0.02710040.008674457SN_WARN STAR_WARN PERSIST_HIGH
2M17344156-2801557263.673185-28.032166359.4913960652.51476975511-63.60270.6537463579.15575.180540.50777090.04561281-0.26069160.015336450.2439790.01101215PERSIST_HIGH
2M17344497-2817405263.687376-28.294584359.2771783482.36240988746.446480.06575663778.00583.447220.86933640.041955590.12176850.012770690.0277940.009300796SN_WARN STAR_WARN PERSIST_HIGH
2M17344608-2724318263.692033-27.4088480.0255270436292.83746169615-18.83280.5500763605.5563.433220.38060670.05439951-0.63952150.012281020.2441090.01011259
2M17344844-2807400263.701868-28.127804359.4245380652.44179431344-118.2150.2709143590.7977.440120.6366820.039366070.21101850.013565970.0476580.009091515SN_WARN STAR_WARN PERSIST_HIGH
2M17345272-2736505263.719689-27.61405359.8658647952.7060194798628.55560.05136813780.82670.588140.84276370.043793120.15870850.0091915580.0696290.007149458
2M17345572-2753373263.732178-27.8937359.636208112.54572370591-78.66450.03808873771.12773.741460.65741980.04844924-0.23431160.011522250.1041090.009243951COLORTE_WARN STAR_WARN
2M17345763-2815528263.740135-28.264681359.3274868152.33947040836-82.79120.3077643586.10379.555650.40571130.042763-0.098081550.01596980.0904090.01100344SN_WARN STAR_WARN PERSIST_HIGH
2M17350086-2808051263.753604-28.134756359.4433472382.39964267581-166.6430.06849964131.42297.306571.6098080.05171317-0.35584150.013914890.1903190.0119233SN_WARN STAR_WARN PERSIST_HIGH
2M17350512-2802456263.771338-28.046001359.5265774382.4343883665562.69790.05080953799.4986.105610.82628180.04509113-0.12817150.014375050.0776490.01081369SN_WARN STAR_WARN PERSIST_HIGH
2M17350983-2739429263.790983-27.661943359.8596221632.6270010291162.5550.1029363729.17469.169531.3075430.039188140.49442850.008389838-0.02596790.006118721
2M17351027-2830318263.792806-28.508842359.1468630782.16862759268-228.7210.1163773623.59870.753331.0027770.03892460.37923850.01036489-0.0171740.0071827
2M17351062-2832534263.794277-28.548189359.1144169722.14629830179134.1650.1127623317.4657.684820.2920370.038590530.29358850.01119428-0.02936710.007063611COLORTE_WARN STAR_WARN
2M17351127-2733449263.796986-27.56249359.9463303412.67616368343193.0230.02790213650.00261.612681.0282630.041163670.36745850.007769899-0.0138020.005796615
2M17351291-2810554263.803816-28.182064359.427404742.33684078967.216670.01626794903.64388.231812.5347550.0430205-0.087576550.0068526560.0028319990.007141993PERSIST_HIGH
2M17351647-2752123263.818666-27.870106359.6973860642.49409576393-143.9620.07492964099.9968.908531.4725870.05318318-0.11882150.0069440.0499360.006556174
2M17351741-2730541263.82255-27.515036359.9985743672.68266166049-18.26440.01565243919.97476.214811.6408860.05183477-0.33365150.01073396-0.080106010.009268138COLORTE_WARN STAR_WARN
2M17351858-2744278263.827457-27.74106359.8103630172.55713791169-21.63160.03453953890.90965.520251.2041160.048733474.362999E-050.0074629910.0681490.006460291
2M17352222-2833101263.842606-28.552813359.1334476492.10806369847-26.04260.1501293571.24471.17730.68479080.039493210.26822840.011655110.0259860.007936319
2M17352252-2809573263.843855-28.16593359.4600568612.3158254735155.2670.5487713517.06871.027370.64566480.039113120.24427840.012590140.012790.008335268PERSIST_HIGH
2M17353200-2816293263.883338-28.274809359.3870619892.227819339672.550630.1352463984.97195.369131.0316050.05618671-0.76869150.017642620.2632390.01519758SN_WARN STAR_WARN PERSIST_HIGH
2M17353215-2759106263.88397-27.986303359.6305691012.3828554708518.40740.1799973922.68589.569181.1724330.05355629-0.60993150.015876730.2836690.01334103PERSIST_HIGH
2M17353239-2732368263.884994-27.5435770.004379086875792.62063574757161.4990.3392353330.52352.732870.40691480.04028440.25935850.009390046-0.0026430.006232254COLORTE_WARN STAR_WARN
2M17353467-2818243263.894482-28.306768359.3654170542.20232687051212.4512.063773846.02283.818341.3704190.04464709-0.016661550.012492890.1988590.009577503PERSIST_HIGH
2M17353666-2753317263.902777-27.892157359.718908942.4195881253619.15660.06204083642.65367.504420.9598860.039462450.40368850.009188618-0.0295030.006540933
2M17353909-2800469263.912906-28.013037359.6218071722.3469275071130.15310.4057763383.85358.750150.54784080.041377370.11363850.011169530.2118190.007485348PERSIST_HIGH
2M17354074-2726492263.919772-27.4470080.1024658174632.6466468323-0.7705140.5512123227.93651.179390.54980520.039398980.25437840.010441030.2153190.006540412COLORTE_WARN STAR_WARN
2M17354253-2807096263.927229-28.119352359.5389787722.2790067100158.86360.1315623723.25374.26580.64572170.05226849-0.54603150.013748070.2475090.01118879PERSIST_HIGH
2M17354431-2758434263.934663-27.978746359.6610793352.34921235223-16.26690.3987463822.60981.735750.77911880.05452222-0.68069150.015302440.2595990.01284379PERSIST_HIGH
2M17354575-2821241263.940649-28.356716359.3452238812.14117971652-254.0140.218963670.05877.904820.68044750.04737122-0.32626160.014901350.2490790.01120616PERSIST_HIGH
2M17354627-2752106263.942811-27.869625359.7569865042.40190797668186.0370.4753393670.50865.556280.32012640.05879709-0.86312160.012961770.2485190.01126457
2M17354760-2742056263.948353-27.701563359.9013836572.4882576181636.18110.04183424487.30381.898992.1941870.051914030.19666840.006523686-0.034089490.006210387
2M17355017-2732011263.959054-27.5336490.04814724350612.57064324503100.5070.07372253371.9152.890630.51195860.039710880.34854840.008599001-0.02956440.005790841
2M17355137-2756486263.964063-27.946838359.7019833792.3445112304192.2970.5169333278.70454.02896-0.25803740.04407421-0.12149160.01218707-0.00077899920.00812165COLORTE_WARN STAR_WARN
2M17355503-2758205263.979294-27.972366359.687699152.3194320462-78.61650.5590573579.21778.071270.45525860.0488165-0.52647160.018040620.2883390.01321639PERSIST_HIGH
2M17355687-2805005263.986981-28.083483359.5976308982.25390615429-20.13740.1073813926.20181.869511.3112910.043328760.19436850.010226030.0256020.007984016PERSIST_HIGH
2M17360107-2710573264.004479-27.1826020.3661257894582.7254561826881.90310.2697133351.82354.454620.55106280.043256090.011405450.010538970.2108990.007232427COLORTE_WARN STAR_WARN
2M17360667-2822112264.02783-28.369801359.3755201482.06948724695-7.019340.1517813678.29180.258030.58098090.051963-0.65686150.017460880.2751990.01362739PERSIST_HIGH
2M17360668-2710099264.027868-27.1694340.3884392805072.7149891990825.40110.1024423852.15675.282350.84170110.06472544-1.1332620.01477621-0.1546210.01386513COLORTE_WARN STAR_WARN
2M17361324-2754488264.055191-27.913557359.773411912.2945479249-178.9860.3550433509.41169.722370.27856090.04223401-2.074E-050.013377470.0770490.009178196PERSIST_HIGH
2M17361429-2726190264.059565-27.4386160.1763469205572.546573648081.774370.2715613739.56978.54981.0743320.040485560.26294850.011372080.0048439990.008165479
2M17361628-2840414264.067865-28.678167359.1343654071.87393651718-110.4590.1265723315.26252.20660.42496650.039580010.31223850.009257709-0.0029030010.006064783
2M17362394-2711061264.09976-27.1850280.4096665888352.65266908589-13.62840.2298123480.27765.454610.67556050.036794480.49435850.0104212-0.0131260.006749874
2M17362950-2736218264.122958-27.6060710.06520338694512.40919857368191.3740.137333655.35964.837711.1466720.039216510.48073850.00816861-0.0149520.005892622
2M17363062-2738401264.127603-27.6444760.03498961200032.38510284064-316.8250.6068963545.58858.220450.38532290.04633036-0.079001550.0093384990.0431590.007132614
2M17363107-2822307264.129486-28.375204359.4190872051.99116840435-29.09110.2415453833.75674.560170.76135130.05779818-0.76599160.01309340.2742590.01161735PERSIST_LOW PERSIST_HIGH
2M17363131-2834528264.13046-28.581354359.2455939681.8796652633923.46650.0337313583.20870.392320.77604930.04379458-0.051414550.01254670.2203990.009023006
2M17363199-2756150264.133294-27.937519359.7903013482.22347382286-26.95142.049454102.30789.971731.3357980.05933855-0.76250150.014091320.2368790.01306545PERSIST_HIGH
2M17363578-2808433264.149089-28.145382359.6223340892.10007008848-103.8460.4425893167.94351.15464-0.070186560.040625820.088138450.01221079-0.0170840.007484723COLORTE_WARN STAR_WARN PERSIST_HIGH
2M17363703-2747461264.154304-27.796143359.9196373192.28372500285-127.3710.0498393556.99264.795830.35444620.043798940.007442750.0109032-0.009630.007927946
2M17363775-2758346264.157303-27.976286359.7689723752.18476504155-103.8340.9242543566.43462.523970.33823410.05502749-0.70465150.012885220.2529090.01052038COLORTE_WARN STAR_WARN PERSIST_HIGH
2M17364008-2752366264.167024-27.876858359.8575314232.230902037618.204340.0882763798.97465.669570.83984040.05515816-0.51378150.009869180.2639590.008758535
2M17364071-2751055264.169649-27.851555359.8801423682.24252746202160.15703486.16568.927260.42430340.04867362-0.48550160.016018840.2386990.01161167COLORTE_WARN STAR_WARN
2M17364113-2806488264.17138-28.113581359.6597423452.10056447485-33.19551.369853600.85474.568520.53534990.04851053-0.43377160.015578380.2509490.01163549PERSIST_HIGH
2M17364134-2813482264.17228-28.230078359.5618257562.03734260117-160.1540.3599193672.70877.203450.51002530.05124205-0.57540150.01590320.2766790.01243564PERSIST_HIGH
2M17364159-2731560264.1733-27.5322440.1515233243352.41118003171-22.09750.2515293262.77953.509830.27422430.04336063-0.074109550.012068850.2229290.007936774COLORTE_WARN STAR_WARN
2M17364228-2842345264.176177-28.709602359.158941431.77692171751-32.78450.01607893928.69270.612241.3314860.046410110.12441850.007915767-0.0034490.006643798
2M17364464-2735408264.186025-27.5946880.1048432161212.36815377258102.3680.02045273730.11370.743550.91156190.0435330.12157850.0099198080.0865690.007546859
2M17364593-2840486264.191409-28.680168359.1909614741.7814593263222.8860.2327973671.96466.380290.67252080.05150772-0.43400150.011431860.2349590.009332828
2M17364991-2728343264.207959-27.4762080.2153617056892.41529940882-3.981720.04876654221.87572.0361.5844970.05586262-0.19800150.006979018-0.0751230.006850075
2M17364993-2800271264.208045-28.007547359.7666463942.13018105181-231.5990.02202073537.59664.57640.55735590.041133630.19917850.01040705-0.0066990010.00730062COLORTE_WARN STAR_WARN PERSIST_HIGH
2M17365004-2738363264.208539-27.643440.07437818293832.32516382375246.20.5025413393.24352.997650.70316230.039467190.38989840.008243830.0206360.005594095
2M17365238-2818440264.218273-28.312248359.5142151681.95905667739-33.26950.07850523306.76255.427860.081398170.040396440.17189850.011025980.0836590.007134821PERSIST_HIGH
2M17365258-2831215264.219119-28.522663359.336976141.84549641767277.8010.2973683312.66352.485020.29981130.040179860.25373850.0095840780.0272520.006301672COLORTE_WARN STAR_WARN
2M17365352-2707187264.223018-27.1218640.5219282347312.59400345267-33.19960.04331154039.7484.026021.5484490.045224390.14668840.009751238-0.0121560.007967283
2M17365588-2820033264.232856-28.334265359.5025187561.93640953309-10.2380.03794783565.66759.790120.45678490.04907911-0.27736150.010231670.2397690.008033011PERSIST_HIGH
2M17365646-2743488264.23528-27.7302470.01376592480742.25861925613-47.33240.2173093416.85558.843710.57260490.03926790.32175840.009922301-0.0227680.006604845
2M17365793-2714279264.241398-27.2410950.4299452994462.51629050983-10.55360.02993353693.85674.114321.0462940.039503220.35682850.010437190.0133520.007397432
2M17370483-2743383264.270143-27.7273330.03278579614232.23413274954-253.8570.06874313523.81459.768310.41553110.05013679-0.39307160.011268920.2701790.008762578
2M17371097-2705033264.295726-27.0842530.5884304716492.55950495889-217.5170.3471493567.50471.138140.58794710.0461954-0.25717150.014029980.2159490.01023211PERSIST_LOW
2M17371119-2710467264.296659-27.1796440.50823822282.50771796027-62.81290.1493343942.37180.309561.2109220.04693573-0.034162550.010467570.1051290.008569014PERSIST_LOW
2M17371229-2832342264.301235-28.54286359.3586436851.7737786156977.12250.0171323532.7262.747140.42216850.042394010.12375850.010190430.0493920.007286559PERSIST_LOW PERSIST_MED
2M17371443-2718049264.31013-27.301380.4117563535762.43240775984-113.9930.07950323321.31453.076880.19354370.041163770.17066850.009946613-0.0022870.006619392
2M17371776-2721356264.324-27.3599150.3688818547672.390656123282.203490.07875834679.974102.40312.6324060.05580737-0.059740550.009704837-0.0437860.009148039
2M17371794-2815438264.32479-28.262175359.6068327741.90674107854128.8290.8154113909.6486.508830.89885880.05754421-0.82644150.016218940.2241490.01416211PERSIST_HIGH
2M17371833-2810554264.326392-28.182066359.6752644231.94847650454-11.89140.072333484.46367.564510.511080.0390440.26778840.011896170.0227720.007857773PERSIST_HIGH
2M17371881-2717122264.32841-27.2867430.43283560132.42652573064-39.31020.2105823721.93579.942340.94699340.040730820.20528850.012238940.0657860.008711938SN_WARN STAR_WARN PERSIST_LOW
2M17371964-2702144264.331859-27.0373420.6453358123872.557442722596.522040.06673063535.96866.719210.49961470.040595280.20683850.011057520.0185920.007637272PERSIST_LOW
2M17372010-2731441264.333775-27.5289340.2306666004032.2928241828-79.32770.0227193841.8862.857910.97405430.048183630.028777450.0072140690.0319030.006180447
2M17372072-2709463264.336355-27.1628760.5413402097362.4868690193462.8130.3786463528.34157.285610.79475470.044853610.027362450.0089391970.2127590.00670654
2M17372147-2817524264.339473-28.297909359.5835777621.876676013261.845220.04205013881.62684.938781.0580610.04622501-0.10796160.012701470.1126290.009977651PERSIST_HIGH
2M17372494-2702508264.35393-27.0474590.6473116818442.5354224322482.47680.05989153551.40968.625320.94319010.037465970.46085850.01045669-0.03188940.006962617PERSIST_LOW
2M17372535-2822051264.355658-28.368092359.5319221161.827046580740.802870.6636943481.12666.851880.5172270.04289458-0.037803550.013033110.2203790.008987117COLORTE_WARN STAR_WARN PERSIST_HIGH
2M17372592-2734012264.358014-27.5670030.2100038746952.25429071294-58.99190.09512183463.64354.194880.60127360.040261310.37584840.0078080010.0031480010.005499572
2M17372597-2809132264.358233-28.153667359.7143045121.93998808876-180.5780.1218463835.96382.502371.0365260.04853702-0.28896160.013440690.2095890.0107174PERSIST_HIGH
2M17372857-2710017264.369052-27.1671390.553318246792.46001355941151.5170.1395733348.84156.842950.24686230.04744035-0.34457160.013010180.2200690.009170509COLORTE_WARN STAR_WARN PERSIST_LOW
2M17373364-2839595264.390201-28.666531359.2960550071.64156154671-14.98140.07850293567.79367.708310.8452660.03895450.36297850.010320480.0097809990.007069582PERSIST_LOW
2M17373375-2835247264.390649-28.590206359.3607495221.6821052781229.0840.2881443713.98373.592250.7839020.04855647-0.30111150.012575170.2515190.009885673PERSIST_LOW
2M17373396-2843420264.39152-28.728352359.2444467191.60747495068-84.87930.02696293601.19170.63680.63202470.041127080.17355850.011414020.0189090.008035221PERSIST_LOW
2M17373426-2802057264.392773-28.034918359.8309795431.9778376764729.67460.4676133780.83883.220330.66108670.05293427-0.64628150.016423260.2700090.01332748PERSIST_HIGH
2M17373696-2721522264.404036-27.3645230.4030600516362.3281450555914.22220.02255474043.55395.843441.2678840.05565886-0.67937150.01631270.2463390.01420824SN_WARN STAR_WARN
2M17373772-2734144264.407182-27.5706690.2302473574492.21551010647157.0120.2125034175.44184.601660.80546320.07913461-1.5773620.015345660.2752290.01688021
2M17373891-2659162264.412156-26.987860.7254895928342.5234719240476.64760.3056133291.72358.333320.19037930.039906520.14239840.012548680.1037090.007898581PERSIST_LOW