Is it possible to query a MySQL database to get the column names of a table in alphabetical order? I know that
SHOW COLUMNS `table_name`;
Every field was listed twice until I used group by column name
group by column name
select c.COLUMN_NAME from INFORMATION_SCHEMA.COLUMNS c where c.TABLE_NAME = `'tbl_name'` group by c.column_name order by c.column_name