show columns from |
show columns from テーブル名;
選択しているデータベースの、指定したテーブルのカラム情報を表示する。
実行例+-------+---------+------+-----+---------+----------------+ | Field | Type | Null | Key | Default | Extra | +-------+---------+------+-----+---------+----------------+ | id | int(11) | | PRI | NULL | auto_increment | | name | text | YES | | NULL | | +-------+---------+------+-----+---------+----------------+