Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
SHOW COLUMNS または DESC MySQL コマンドの出力を (簡単に) 並べ替えることができますか?
を使用してテーブル名を並べ替えることができますがorder by、select以下information_schemaの列名をalphabetical順番に並べる必要があります
order by
select
information_schema
alphabetical
SELECT column_name FROM information_schema.columns WHERE table_name = 'table_name' ORDER BY column_name