0

I have been trying to get the result of a PostgreSQL command. I am getting the following error. I want to get the video id, video name and the created date for that specific video. enter image description here

I have all the required columns in the table as shown below: enter image description here

enter image description here

enter image description here

enter image description here

1
  • 4
    Another good example why you shouldn't use mixed case or upper case identifiers. If you never use double quotes (including the CREATE TABLE statements), then you don't have this problem. Commented Nov 17, 2021 at 7:39

1 Answer 1

2

If you write "tablename.columnname", that is not interpreted as table name and column name, but as a single identifier. Based on the context in a join condition, PostgreSQL expects it to be a column name.

If you use double quotes, you have to quote column and table separately: "tablename"."columnname"

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.