How to insert data into `group` labeled table

28 Views Asked by At

I have a database in Postgres that has multiple tables. One of them is group. I know that this is a reserved name. The question is how to insert data into that table.

1

There are 1 best solutions below

0
AudioBubble On BEST ANSWER

As documented in the manual you need to use double quotes:

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