sql - please help me find mysql statement issue -
INSERT person_data ('key', 'value', person_id), select 'aaa', 'bbb' Person_data; Can anyone please tell me what is the problem with the above statement? Because 'key' and 'value' are sensitive words? Any help?
is a column name, which should be a keyword and it should not be placed in qoutes. Remove the last comma in the selection list too. Include 'AAA', 'BBB', 1 person to person_data;
person_data (`key ', value, person_id);
Comments
Post a Comment