select COLUMN_NAME from information_schema.columns where table_name='userinfo' ; select * from information_schema.columns where table_name='userinfo';
mysql 显示字段信息内容
最新推荐文章于 2021-03-23 08:14:50 发布
本文介绍了一个SQL查询案例,通过使用标准SQL语法从information_schema.columns表中检索特定表(userinfo)的所有列名及其相关信息。
3307

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



