Question: What am I possibly doing wrong ?? mysql> INSERT INTO person(fName,lname,cityID) VALUES(Joseph,Mosca,9); ERROR 1054 (42S22): Unknown column 'Joseph' in 'field list' mysql> Create Entry in

What am I possibly doing wrong ??

What am I possibly doing wrong ?? mysql> INSERT INTO person(fName,lname,cityID) VALUES(Joseph,Mosca,9);

mysql> INSERT INTO person(fName,lname,cityID) VALUES(Joseph,Mosca,9);

ERROR 1054 (42S22): Unknown column 'Joseph' in 'field list'

mysql>

Create Entry in Person Table Check for your name: SELECT * FROM person; INSERT INTO person (fName, Iname, citylD) VALUES (Tyour first namel', 'Iyour last name]', your citylD]); Check your work: SELECT * FROM person

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

The error you are encountering is due to not enclosing string values in single quotes in your SQL st... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!