且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何获取MySQL中所有表的所有列名称?

更新时间:2023-01-13 19:58:41

select * from information_schema.columns
where table_schema = 'your_db'
order by table_name,ordinal_position