mysql update if value is null code example Example: mysql set value as null UPDATE table SET field = NULL WHERE something = something