select column_name from information_schema.columns where table_name=’xls1’;
mysql显示所有的表内字段内
最新推荐文章于 2023-06-01 16:38:35 发布
本文介绍了一种使用 SQL 语句从 information_schema 表中查询指定表 xls1 的所有列名的方法。
本文介绍了一种使用 SQL 语句从 information_schema 表中查询指定表 xls1 的所有列名的方法。
select column_name from information_schema.columns where table_name=’xls1’;
1518
3811

被折叠的 条评论
为什么被折叠?