PostgreSQL 13, pgAdmin 4.
I have a table "Student" with the following columns:
- student_id (text, primary key)
- last_name (text)
- first_name (text)
- major (text)
- credit_hours (int)
I'm simply trying to add another student to this table, which I am attempting to do with the query below
INSERT INTO Public."Student" ("student_id", "last_name", "first_name", "major", "credit_hours")
VALUES ("S201217","BAR","FOO","CSC",100);
but when I run this query, I get this output
ERROR: column "S201217" does not exist
LINE 2: VALUES ("S201217","BAR","FOO","CSC",100);
^
SQL state: 42703
Character: 105
For such a basic error, I really must be missing something here, why is this query not able to add a row?