From cassandra learning resources at this link.
To find out the columns in a table in mysql where you might need it programatically. You can use the information schema.
SELECT group_concat(column_name) as columnNames
`TABLE_NAME` = 'EMPLOYEE_TABLE'
This would produce the output as a single row instead of columns.
The group_concat transposes a result set from rows into columns, which is very ideal and can save some compute logic on the application side.