I have a table like this:
name code group
john 12
smith 15
how do I insert group for a specified row?
say for ‘smith’ I have to insert the group..
i tried to do the following:
INSERT INTO table (group)
VALUES ('usher') where code = 15
error:
Incorrect syntax near the keyword ‘where’.
please help!!
thanks in anticipation!!
1 Answer