set a value in mysql to null in java code example Example: mysql set value as null UPDATE table SET field = NULL WHERE something = something