題組內容
五、假設在某個 MongoDB 的資料庫中,有個 Collection 叫做“student”,其中 每個物件表示學生的編號(_id) 、姓名(name)包含名(first)和姓(last) 以及就讀的學系名稱(department)。一個範例物件以 JSON 格式表示如 下所列: 
請以 Mongo 語法,依序寫出符合下述要求的指令:
(二)刪除所有就讀“CS”系的學生資料。(10 分)
詳解 (共 1 筆)
詳解
db.student.remove(
{
“department”:”CS”
}
)
刪除資料庫用.dropDatabase 刪除collection用.drop 刪除collection中的object則用.remove