The original student table information is so
then I want the id 18051105 null instead of class_id and major_id
can use the following statement
UPDATE student SET class_id = NULL , major_id = NULL WHERE id='18051105';
Last result:
The original student table information is so
then I want the id 18051105 null instead of class_id and major_id
can use the following statement
UPDATE student SET class_id = NULL , major_id = NULL WHERE id='18051105';
Last result: