Your SQL command was:
SELECT DISTINCT survey, programname
FROM platex
ORDER BY survey

Your query output (max 500,000 rows):

surveyprogramname
bossboss_lofar
bossboss
bossSEQUELS_ELG
bossXMMXLL
bosssequels
bossspecial_sky
bossSEGUE_GES
bossspecial_elg
bossspecial_plates_S82
bossDEEP_QSO
bossspecial_plates_TDSS_SPIDERS
bosscommissioning
bossspecial_plates_NGC
bossspecial_plates_W1
bossRM
bossOrion_Taurus
bossspecial_plates_W3
ebossELG_NGC
ebossELG_SGC
ebosseboss
sdssdisk
sdssphotoz
sdssperseus
sdsslowz_lrg
sdsslowz
sdssfstars
sdsslegacy
sdsspremarvels_preselection
sdsspreboss
sdsssouthern
sdssm31_fstars
sdssreddening
sdssapbias
sdssmsturnoff
sdssorion
sdsshyades
sdsstaurus
sdsscommissioning
sdsslowz_loveday
segue1segue
segue1seguefaint
segue1segtest
segue1segcluster
segue1seglowlat
segue1segpointedf
segue1segclusterf
segue1segpointed
segue1segtestf
segue1seglowlatf
segue2segue2
segue2segcluster