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
bossOrion_Taurus
bossRM
bossspecial_plates_W3
ebosseboss
sdssdisk
sdssphotoz
sdssperseus
sdsstaurus
sdsslowz_lrg
sdsslowz
sdssfstars
sdsslegacy
sdsspremarvels_preselection
sdsspreboss
sdsssouthern
sdssm31_fstars
sdsscommissioning
sdssapbias
sdssmsturnoff
sdssorion
sdsshyades
sdssreddening
sdsslowz_loveday
segue1segue
segue1seguefaint
segue1segtest
segue1segcluster
segue1seglowlat
segue1segpointedf
segue1segclusterf
segue1segpointed
segue1segtestf
segue1seglowlatf
segue2segue2
segue2segcluster