I am trying to create a table and columns in the table and then insert data in the columns. I'm using pgadmin4. This is my query:
INSERT INTO moon
(ID, NAME, Age, Salary)
VALUES
(2, 'saqib', 4, 400)
Error message:
ERROR: column "id" of relation "moon" does not exist
LINE 2: (ID, NAME, Age, Salary)
^
SQL state: 42703
Character: 19
The id column has been created in the table "moon" but still getting the error.