Nie znaleziono kolumny Postgresql, ale pokazuje w opisie
Istnieją podobne posty, ale żaden nie pomógł mi rozwiązać mojego problemu.
Próbuję wykonać prosty wybór w tabeli, pobierając tylko jedną kolumnę. Kolumna pokazuje się w tabeli opisu, ale gdy próbuję ją wybrać, otrzymuję kolumnę nie znaleziono błędu. Używam interfejsu linii poleceń.
Stół:
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
itp.
Wybierz:
select `transactionAmount` from ... where ... group by transactionAmount;
Błąd:
ERROR: column "transactionamount" does not exist
LINE 1: select `transactionAmount` from ... where...
Czy ktoś ma jakiś pomysł, dlaczego otrzymam ten błąd?