




版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請進(jìn)行舉報(bào)或認(rèn)領(lǐng)
文檔簡介
1、會計(jì)學(xué)1數(shù)據(jù)庫系統(tǒng)概論數(shù)據(jù)庫系統(tǒng)概論實(shí)體聯(lián)系模型實(shí)體聯(lián)系模型ER圖圖An Introduction to Database Systems數(shù)據(jù)庫系統(tǒng)概論An Introduction to Database Systems第二章 實(shí)體-聯(lián)系模型 第1頁/共39頁An Introduction to Database Systems第2頁/共39頁An Introduction to Database Systems第3頁/共39頁An Introduction to Database Systems第4頁/共39頁An Introduction to Database Systems第5頁/共
2、39頁An Introduction to Database Systems第6頁/共39頁An Introduction to Database Systems第7頁/共39頁An Introduction to Database Systems實(shí)體型A聯(lián)系名實(shí)體型B111:1聯(lián)系實(shí)體型A聯(lián)系名1n1:n聯(lián)系實(shí)體型A實(shí)體型B聯(lián)系名mnm:n聯(lián)系實(shí)體型B用圖形來表示兩個實(shí)體型之間的這三類聯(lián)系 第8頁/共39頁An Introduction to Database Systems班級班級-班長班長111:1聯(lián)系第9頁/共39頁An Introduction to Database Systems
3、系,反之,對于實(shí)體系,反之,對于實(shí)體集集B中的每一個實(shí)體,實(shí)體中的每一個實(shí)體,實(shí)體集集A中至多只有一個中至多只有一個實(shí)體與之聯(lián)系,則稱實(shí)體與之聯(lián)系,則稱實(shí)體集實(shí)體集A與實(shí)體集與實(shí)體集B有一對有一對多聯(lián)系,記為多聯(lián)系,記為1:n班級組成學(xué)生1n1:n聯(lián)系第10頁/共39頁An Introduction to Database Systems課程選修學(xué)生mnm:n聯(lián)系第11頁/共39頁An Introduction to Database Systems第12頁/共39頁An Introduction to Database Systems課程講授教師1m兩個以上實(shí)體型間1:n聯(lián)系參考書n第13頁
4、/共39頁An Introduction to Database Systems供應(yīng)商供應(yīng)項(xiàng)目mp兩個以上實(shí)體型間m:n聯(lián)系零件n第14頁/共39頁An Introduction to Database Systems職工領(lǐng)導(dǎo)1n單個實(shí)體型內(nèi)部1:n聯(lián)系第15頁/共39頁An Introduction to Database Systems實(shí)體型1聯(lián)系名mn單個實(shí)體型內(nèi)的m:n聯(lián)系v 多對多聯(lián)系第16頁/共39頁An Introduction to Database Systems第17頁/共39頁An Introduction to Database Systems學(xué)生教師學(xué)生學(xué)號年齡性別姓
5、名第18頁/共39頁An Introduction to Database Systems第19頁/共39頁An Introduction to Database Systems實(shí)體型A聯(lián)系名實(shí)體型B111:1聯(lián)系實(shí)體型A聯(lián)系名1n1:n聯(lián)系實(shí)體型A實(shí)體型B聯(lián)系名mnm:n聯(lián)系實(shí)體型B第20頁/共39頁An Introduction to Database Systems班級班級-班長班長111:1聯(lián)系課程選修學(xué)生mnm:n聯(lián)系班級組成學(xué)生1n1:n聯(lián)系第21頁/共39頁An Introduction to Database Systems課程選修學(xué)生mn成績v聯(lián)系的屬性:聯(lián)系本身也是一種實(shí)體
6、型,也 可以有屬性。如果一個聯(lián)系具有屬性,則這些屬性也要用無向邊與該聯(lián)系連接起來 第22頁/共39頁An Introduction to Database Systems第23頁/共39頁An Introduction to Database Systems第24頁/共39頁An Introduction to Database Systems第25頁/共39頁An Introduction to Database Systems聯(lián)系。用庫存量來表示某種零件在某個倉庫中的數(shù)量。此聯(lián)系的屬性是庫存量第26頁/共39頁An Introduction to Database Systems第27頁/
7、共39頁An Introduction to Database Systems第28頁/共39頁An Introduction to Database Systems第29頁/共39頁An Introduction to Database Systems選修。多對多聯(lián)系。此聯(lián)系的屬性是成績第30頁/共39頁An Introduction to Database Systems學(xué)生性別系別獎學(xué)金姓名學(xué)號出生日期入學(xué)日期課程學(xué)分教師類別課程號課程名成績選課mn第31頁/共39頁An Introduction to Database Systems第32頁/共39頁An Introduction to Database Systems第33頁/共39頁An Introduction to Database Systems圖書出版社圖書價格作者圖書分類號圖書名稱圖書編號讀者工作單位辦證日期身份證號編號姓名還書日期借閱n1狀態(tài)罰金更新日期借書日期第34頁/共39頁An Introduction to Database Systems第35頁/共39頁An Introduction to Database Systemsn病人入住病房1病房號床位號工作證號姓 名性 別病歷號n醫(yī)生從屬科室1科 名科電話科地
溫馨提示
- 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
- 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
- 5. 人人文庫網(wǎng)僅提供信息存儲空間,僅對用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負(fù)責(zé)。
- 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時也不承擔(dān)用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。
最新文檔
- 買車轉(zhuǎn)訂金合同范本
- 體育訂購合同范本
- 下學(xué)期安全工作總結(jié)
- 分期貸款正規(guī)合同范本
- 三年級班主任工作計(jì)劃
- 中醫(yī)基礎(chǔ)學(xué)模擬考試題含參考答案
- 廚房維修合同范本模板
- 產(chǎn)業(yè)調(diào)研合同范本
- 單位安裝鍋爐合同范例
- 廠車出租合同范本
- 2022立足崗位秉承工匠精神PPT課件模板
- 科技成果轉(zhuǎn)化項(xiàng)目申報(bào)表
- 某水廠水資源論證報(bào)告書
- 酒店幕墻工程單元板塊幕墻軌道吊裝方案
- 裝飾材料與構(gòu)造(共153張PPT)
- 職業(yè)健康安全交底
- GB∕T 28610-2020 甲基乙烯基硅橡膠
- GB∕T 7588.1-2020 電梯制造與安裝安全規(guī)范 第1部分:乘客電梯和載貨電梯
- 4.昆蟲備忘錄 課件(共15張PPT)
- DB37∕T 5191-2021 高延性混凝土加固技術(shù)規(guī)程
- 軟壓光機(jī)計(jì)算說明
評論
0/150
提交評論