Removing department without deleting subjects

If I delete a department will it delete all the subjects in it? How can I only delete the department?

No, this will not delete the subjects in the deleted department. When you delete a department the subjects associated with it will be moved to the “no department” section. You can add them to other departments that you have already created or you can create a new department and assign them to that.