阿摩線上測驗 登入

申論題資訊

試卷:101年 - 101 一般警察特種考試_二等_刑事警察人員數位鑑識組:資料庫管理與運用#44672
科目:資料庫管理與運用
年份:101年
排序:0

題組內容

二、考慮以下的犯罪資料庫綱目(database schema): Criminal(pId, name, birthdate, gender, gang, gangDesc) //犯罪人身分證字號,姓名,生日,性別,幫派名稱,幫派敘述 Crime(cId, date, type, detail, name, place) //刑案編號,發生日期,種類,敘述,案名,地點 Commit(pId, cId, sentence) // 身分證字號,刑案編號,判刑資訊 

 此外,並有以下的函數相依(functional dependency): 

 Criminal: 
 {pId}→{name, birthdate, gender, gang} 
 {gang}→{gangDesc} 

 Crime: 
 {cId}→{date, type, detail, name, place} 
 {name, date}→{cId} 

 Commit: 
 {pId, cId}→{sentence}

申論題內容

⑵以上資料庫綱目滿足第二正規式(2NF)嗎?滿足第三正規式(3NF)嗎?若不 滿足,請舉出並說明所有造成不滿足的函數相依。(10 分)