Update MySQL query throwing syntax error -
trying update mysql employee table group column if contains word staff changes contents of column 4. doing wrong?
update employee set group = "4" group "staff";
group reserved word. quote backticks:
update employee set `group` = "4" `group` "staff";
Comments
Post a Comment