I keep getting errors trying to insert data into my table. I have tried:
insert into saferdb_dot_contacts (fax, email, "dot_num_id")
values( 'nan', 'nan', 4);
ERROR: column "dot_num_id" of relation "saferdb_dot_contacts" >does not exist
I tried:
insert into saferdb_dot_contacts (fax, email, dot_num_id)
values( 'nan', 'nan', 4);
ERROR: column "dot_num_id" of relation "saferdb_dot_contacts" >does not exist
I tried to access the field via
SELECT dot_num_id FROM saferdb_dot_contacts;
but got :
ERROR: column "dot_num_id" does not exist LINE 1: SELECT dot_num_id FROM >saferdb_dot_contacts;
I tried:
SELECT 'dot_num_id' FROM saferdb_dot_contacts;
Which gave me a strange output of a column labled ?column?
if it helps dot_num_id is has a foreign key relationship to another table.
EDIT: I also tried:
SELECT "dot_num_id" FROM saferdb_dot_contacts;
ERROR: column "dot_num_id" does not exist LINE 2: SELECT "dot_num_id" FROM saferdb_dot_contacts; ^ SQL state: 42703


dot_num_iddoesn't exist onsaferdb_dot_contacts? What is the schema ofsaferdb_dot_contacts?