1
select * from note where noteKey = 1
この文は私に次のエラーを表示します。なぜwhere句にキーマッチング述語があるselect文をpostgresqlで実行できないのですか?
ERROR: column "notekey" does not exist
LINE 1: select * from note where noteKey = 1
^
HINT: Perhaps you meant to reference the column "note.noteKey".
私はnote.noteKeyを試しましたが、同じエラーが発生しました。 (私は途中でposticoを使い、noteKeyはテーブルノートの主キーです)。
このステートメントに間違いがありますか?
異なる
と同じです異なる列名、次に 'noteKey'または' notekey'です。詳細については、マニュアルを参照してください。https://www.postgresql.org/docs/current/static/sql-syntax-lexical.html#SQL-SYNTAX-IDENTIFIERS –
「メモを記述する」を投稿してください。 – penguin
@a_horse_with_no_name、フィールドが二重引用符で作成されているかどうかを知る方法はありますか? – McNets