mysql - 为什么不能从 `show columns from tablename` 创建新表?
问题描述
显示表格中的所有字段:
show columns from tablename;
我想将结果存储在一个新表中:
insert into newtable (show columns from tablename);
它不能工作,如何创建新表show columns from tablename
?
解决方案
推荐阅读
- python-3.x - 如何在python中将GMT格式的一列数据转换为当地时间
- java - 为什么我的方法在主要方法中没有被检测到?
- android - Android Studio 3.4:不推荐使用最终值更改属性的值。这将在 Gradle 6.0 中失败并出现错误
- c++ - 使虚拟类使用另一个类的基类
- c++ - 在一个解决方案中使用多个 .cpp 文件的目的是什么?
- c - c语言编码为什么会出现运行时错误?
- regex - RegEx 用于查找以任何字母开头后跟数字的所有文件
- python - 识别数据框列中两个空值之间的最大延伸值
- php - 谷歌云 KMS 权限问题与加密
- inno-setup - 无法访问 ProgramData 文件夹中的数据库