Use the column checkboxes to build your query. Header columns sets/unsets all columns
SELECT TABNAME, FCT, S1, S2, S3, S4, S5, S6, S7, S8, S9, GDATE, GTIME, GUSER FROM TGTB