Kinh doanh - Marketing
Kinh tế quản lý
Biểu mẫu - Văn bản
Tài chính - Ngân hàng
Công nghệ thông tin
Tiếng anh ngoại ngữ
Kĩ thuật công nghệ
Khoa học tự nhiên
Khoa học xã hội
Văn hóa nghệ thuật
Sức khỏe - Y tế
Văn bản luật
Nông Lâm Ngư
Kỹ năng mềm
Luận văn - Báo cáo
Giải trí - Thư giãn
Tài liệu phổ thông
Văn mẫu
Giới thiệu
Đăng ký
Đăng nhập
Tìm
Danh mục
Kinh doanh - Marketing
Kinh tế quản lý
Biểu mẫu - Văn bản
Tài chính - Ngân hàng
Công nghệ thông tin
Tiếng anh ngoại ngữ
Kĩ thuật công nghệ
Khoa học tự nhiên
Khoa học xã hội
Văn hóa nghệ thuật
Y tế sức khỏe
Văn bản luật
Nông lâm ngư
Kĩ năng mềm
Luận văn - Báo cáo
Giải trí - Thư giãn
Tài liệu phổ thông
Văn mẫu
Thông tin
Điều khoản sử dụng
Quy định bảo mật
Quy chế hoạt động
Chính sách bản quyền
Giới thiệu
Đăng ký
Đăng nhập
0
Trang chủ
Công Nghệ Thông Tin
Cơ sở dữ liệu
FUNDAMENTALS OF DATABASE SYSTEMS Fourth Edition phần 4
Đang chuẩn bị liên kết để tải về tài liệu:
FUNDAMENTALS OF DATABASE SYSTEMS Fourth Edition phần 4
Thanh Nhàn
39
103
pdf
Đang chuẩn bị nút TẢI XUỐNG, xin hãy chờ
Tải xuống
Các ngữ nghĩa của hai lược đồ liên quan khác trong hình 10.1 là hơi phức tạp hơn. Mỗi tuple trong DEPT_LOCATIONS cung cấp cho một số bộ phận (DNUMBER) và một trong những địa điểm của các bộ phận (DLOCATION). Mỗi tuple trong WORKS_ON cho một số nhân viên an ninh xã hội (SSN), | 296 Chapter 10 Functional Dependencies and Normalization for Relational Databases EMPLOYEE f.k. ENAME SSN BDATE ADDRESS DNUMBER p.k. DEPARTMENT DNAME DNUMBER DMGRSSN DEPT-LOCATIONS f.k. DNUMBER DLOCATION p.k. PROJECT f.k. PNAME PNUMBER PLOCATION DNUM p.k. WORKS-ON f.k. f.k. SSN PNUMBER HOURS p.k. FIGURE 10.1 A simplified COMPANY relational database schema. The semantics of the other two relation schemas in Figure 10.1 are slightly more complex. Each tuple in DEPT_LOCATIONS gives a department number dnumber and one of the locations of the department dlocation . Each tuple in WORKS_ON gives an employee social security number ssn the project number of one of the projects that the employee works on pnumber and the number of hours per week that the employee works on that project hours . However both schemas have a well-defined and unambiguous interpretation. The schema DEPT_LOCATIONS represents a multivalued attribute of DEPARTMENT whereas WORKS_ON representsan M N relationship between EMPLOYEE and PROJECT. Hence all the relation schemas in Figure 10.1 may be considered as easy to explain and hence good from the standpoint of having clear semantics. We can thus formulate the following informal design guideline. GUIDELINE 1. Design a relation schema so that it is easy to explain its meaning. Do not combine attributes from multiple entity types and relationship types into a single relation. Intuitively if a relation schema corresponds to one entity type or one relation- 10.1 Informal Design Guidelines for Relation Schemas 297 EMPLOYEE ENAME SSN BDATE ADDRESS NUMBER Smith John B. 123456789 1965-01-09 731 Fondren Houston TX 5 Wong Franklin T. 333445555 1955-12-08 638 Voss Houston TX 5 Zelaya Alicia J. 999887777 1968-07-19 3321 Castle Spring TX 4 Wallace Jennifer s. 987654321 1941 -06-20 291 Berry Bellaire TX 4 Narayan Remesh K. 666884444 1962-09-15 975 Fire Oak Humble TX 5 English Joyce A. 453453453 1972-07-31 5631 Rice Houston TX 5 Jabbar Ahmad V. 987987987 1969-03-29 980
TÀI LIỆU LIÊN QUAN
Ebook Fundamentals of database systems (6th edition): Part 1
Lecture Fundamentals of Database Systems - Chapter 2: Database system concepts and architecture
Lecture Fundamentals of Database Systems - Chapter 11: Relational database design algorithms and further dependencies
Lecture Fundamentals of database systems: Chapter 1 - Emasri, Navathe
Ebook Fundamentals of database systems (6/E): Part 1
Ebook Fundamentals of database systems (6/E): Part 2
Ebook Fundamentals of database management systems (Second edition): Part 2
Lecture Fundamentals of Database Systems - Chapter 5: The relational data model and relational database constraints
Lecture Fundamentals of Database Systems - Chapter 7: Relational database design by ER-and EERR-to-Relational mapping
Lecture Fundamentals of database systems: Chapter 3 - Emasri, Navathe
crossorigin="anonymous">
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.