Postgres插入到列中,值不存在?

时间:2019-01-16 18:51:07

标签: postgresql

有人知道为什么该查询在PostgreSQL中不起作用吗?

INSERT INTO users (username, password, role, email) VALUES ("joe", "password", "customer", "aleex@bowst.com") RETURNING ID;

返回:

ERROR:  column "joe" does not exist
LINE 1: ...O users (username, password, role, email) VALUES ("joe", "pa...

0 个答案:

没有答案