首页 > 解决方案 > 一个查询运行良好,但一个非常相似的查询根本没有运行

问题描述

我已经使用 SQL 很多年了,但我对 postgresql 还是很陌生。我正在使用 pgAdmin 并且我正在运行以下查询。

select *
from budget_spending
where market is not null
limit 10

但是,此查询不会运行。

select *
from budget_spending
where Project_Description is not null
limit 10

我收到此错误消息:

ERROR:  column "project_description" does not exist

这很奇怪,因为我正在看它,它确实存在。如果我右键单击该列并转到“属性”,我会看到“Project_Description”作为列的名称。我在这里想念什么?

标签: postgresqlquoted-identifier

解决方案


推荐阅读