Postgresql 需要帮助将数据插入Postgres表吗
尝试将数据插入表时出错。。。但我不知道为什么? 语法正确Postgresql 需要帮助将数据插入Postgres表吗,postgresql,Postgresql,尝试将数据插入表时出错。。。但我不知道为什么? 语法正确 column "population" is of type integer but expression is of type record 在要插入的值的元组周围有额外的括号,这将整个过程转换为一条记录 相反: insert into countries(name, population) values ('india',3022),('america',30902); 请不要发布文字绘画的链接。发布错误消息
column "population" is of type integer but expression is of type record
在要插入的值的元组周围有额外的括号,这将整个过程转换为一条记录 相反:
insert into countries(name, population) values ('india',3022),('america',30902);
请不要发布文字绘画的链接。发布错误消息文本本身。如果您不发布导致此错误的sql代码,我们将无法帮助您。还包括相关表格的定义。谢谢同志。
insert into countries(name, population) values ('india',3022),('america',30902);