codice:
SHOW COLUMNS FROM nome_tabella;

oppure

DESCRIBE nome_tabella;