简体   繁体   English

如何将数据插入“组”标签表

[英]How to insert data into `group` labeled table

I have a database in Postgres that has multiple tables.我在 Postgres 中有一个包含多个表的数据库。 One of them is group .其中之一是group I know that this is a reserved name.我知道这是一个保留名称。 The question is how to insert data into that table.问题是如何将数据插入该表。

As documented in the manual you need to use double quotes: 如手册中所述,您需要使用双引号:

insert into "group" (column_1, column_2)
values (42, 'foo');

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM