postgresql - 一个查询运行良好,但一个非常相似的查询根本没有运行
问题描述
我已经使用 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”作为列的名称。我在这里想念什么?
解决方案
推荐阅读
- node.js - 使用 NodeJs Mongo 和 Express 在更新时保留散列密码
- neo4j - 如何在 Neo4jClient 中多次使用 WithParam?
- typescript - 如何使用 babel 7 cli 编译打字稿?
- powershell - 从 foreach 循环内的 if 语句中递增 PowerShell 中的变量。好像坏了
- vaadin - Vaadin @JavaScript 用于不同的构建
- android - RGB565 和 ARGB8888 上的 bitmap.getpixels() 有什么区别
- unicode - 如何在 Rust 中计算字符串中唯一的字素簇?
- sql - MM/dd/yyyy 日期时间数据类型导致值超出范围
- php - 创建一个搜索表单,该表单将从用户那里获取输入并显示视频弹出窗口
- c# - 如何正确使用带参数的 Ninject NamedLikeFactoryMethod?