I'm still fairly new to MySQL and I've been given a task by my lecturer that I just can't make work. She wants us to use SET to add a row to a table instead of the regular VALUE method. Here's my code and the error I received:
Code:
mysql> INSERT INTO Instructors -> SET FacId = 96 -> SET FirstName = 'Chris' -> SET LastName = 'Explorer' -> SET HomePhone = '555-1492'; ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'SET FirstName = 'Chris' SET LastName = 'Explorer' SET HomePhone = '555-1492'' at line 3
Comment