Coluna Postgresql não encontrada, mas mostra em Descrever
Houve posts semelhantes, mas nenhum me ajudou a resolver o meu problema.
Eu estou tentando fazer uma simples seleção em uma tabela, recuperando apenas uma coluna. A coluna mostra na tabela de descrição, mas quando tento selecioná-lo recebo um erro de coluna não encontrado. Eu estou usando a interface de linha de comando.
Mesa:
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
etc.
Selecione:
select `transactionAmount` from ... where ... group by transactionAmount;
Erro:
ERROR: column "transactionamount" does not exist
LINE 1: select `transactionAmount` from ... where...
Alguém tem alguma idéia por que eu receberia esse erro?