Trying to update a mysql employee table where the Group column if it contains the word staff it changes the contents of the column to a 4. What am I doing wrong?
UPDATE employee SET Group = "4" WHERE Group LIKE "Staff";
GROUP is a reserved word. Quote it with backticks:
UPDATE employee SET `Group` = "4" WHERE `Group` LIKE "Staff";