有类似的帖子,但没有一个帮助我解决我的问题。
我正在尝试在表格上进行简单的选择,只检索一列。该列显示在描述表中,但是当我尝试选择它时,我得到一个列未找到错误。我正在使用命令行界面。
桌子:
id | integer | not null default
amazon_payment_id | integer | not null
source | character varying(10) | not null
timestamp | timestamp with time zone | not null
status | character varying(50) | not null
statusReason | character varying(100) | not null
transactionId | character varying(50) | not null
transactionDate | timestamp with time zone |
transactionAmount | numeric(6,2) |
errorMessage | character varying(100) | not null
等等
选择:
select `transactionAmount` from ... where ... group by transactionAmount;
错误:
ERROR: column "transactionamount" does not exist
LINE 1: select `transactionAmount` from ... where...
有谁知道为什么我会收到此错误?