我已经有一个postgresql创建的数据库(由我以外的另一个管理员提供),创建命令如下图所示。
CREATE TABLE "Districts" (
"Name" character varying(500),
"ProvinceCode" text
);
查询插入值到我的表如下:
Insert into Districts (Name,ProvinceCode) values ("Abc","Xyz"); `ERROR: relation "districts" does not exist`
我也试过:
Insert into "Districts" (Name,ProvinceCode) values ("Abc","Xyz"); `ERROR: column "name" of relation "Districts" does not exist`
和:
Insert into "Districts" ("Name","ProvinceCode") values ("Abc","Xyz"); `ERROR: column "Abc" does not exist`
我不知道语法如何正确。我真的需要有人帮忙。