我正在学习如何使用PostgreSQL,我已经在我的表中插入了数据但是当我点击查看行时我看不到数据。我收到以下错误消息(2)。
(1)这是创建表语句
-- Table: "Test2 Schema"."Jobsearch"
-- DROP TABLE "Test2 Schema"."Jobsearch";
CREATE TABLE "Test2 Schema"."Jobsearch"
(
"JobTitle" character varying(30) COLLATE pg_catalog."default",
"Location" character varying(40) COLLATE pg_catalog."default",
"Salary" integer,
"Description" character varying(4000) COLLATE pg_catalog."default",
"Currency" character varying(6) COLLATE pg_catalog."default",
"Duration" character varying COLLATE pg_catalog."default",
"Ref" integer NOT NULL,
CONSTRAINT "Jobsearch_pkey" PRIMARY KEY ("Ref")
)
WITH (
OIDS = FALSE
)
TABLESPACE pg_default;
ALTER TABLE "Test2 Schema"."Jobsearch"
OWNER to adelton;
(2)这是我在尝试查看所有行时得到的错误消息
错误:列"参考"不存在LINE 2:ORDER BY Ref ASC ^提示: 也许你打算引用专栏" Jobsearch.Ref"。 ********** 错误**********错误:列"参考"不存在SQL状态:42703 提示:也许您打算参考专栏" Jobsearch.Ref"。 性格:51
(3)这是我可以用来通过使用选择脚本
来查看行的Select语句SELECT "JobTitle", "Location", "Salary", "Description", "Currency", "Duration", "Ref"
FROM "Test2 Schema"."Jobsearch";
当我使用select脚本时,我可以看到数据。我已经包含两个打印屏幕,一个显示select语句输出,另一个显示视图行输出和错误消息。