sql - 无法在开放式办公数据库的表中添加记录
解决方案
您的查询在语法上不正确,您必须使用values
orselect
语句:
insert into table1(col1, col2, . . . )
select '8', . . . ;
您还可以使用values
:
insert into table1(col1, col2, . . . )
values ('8', . . .);
推荐阅读
- common-table-expression - 带有 SelectQuery 的 jOOQ CommonTableExpression
- java - 使用即时订购
- javascript - 在 NodeJs 中间件中使用异步函数的问题
- python - 如何在 Jupyter 笔记本中显示一个单元格中的多个图像
- flutter - Flutter 中的居中布局
- c - 多线程光线追踪器
- kotlin - Kotlin 中的 MutableList 到 MutableMap
- php - 带循环的 PHP 迷宫生成器
- spring-boot - CircuitBreaker 未从 yaml 文件加载默认值
- javascript - 如何在 JS 中使用正则表达式获取字体系列的子字符串