ch7 - Database System Concepts, 5th Ed . Silberschatz,...

Info iconThis preview shows pages 1–7. Sign up to view the full content.

View Full Document Right Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: Database System Concepts, 5th Ed . Silberschatz, Korth and Sudarshan See www.db-book.com for conditions on re-use Chapter 7: Relational Database Design Chapter 7: Relational Database Design Silberschatz, Korth and Sudarshan 7.<number> Database System Concepts - 5 th Edition, July 28, 2005. Chapter 7: Relational Database Design Chapter 7: Relational Database Design Features of Good Relational Design Atomic Domains and First Normal Form Decomposition Using Functional Dependencies Functional Dependency Theory Algorithms for Functional Dependencies Decomposition Using Multivalued Dependencies More Normal Form Database-Design Process Modeling Temporal Data Silberschatz, Korth and Sudarshan 7.<number> Database System Concepts - 5 th Edition, July 28, 2005. The Banking Schema The Banking Schema branch = ( branch_name , branch_city , assets ) customer = ( customer_id , customer_name , customer_street , customer_city ) loan = ( loan_number , amount ) account = ( account_number , balance ) employee = ( employee_id . employee_name , telephone_number , start_date ) dependent_name = ( employee_id , dname ) account_branch = ( account_number , branch_name ) loan_branch = ( loan_number , branch_name ) borrower = ( customer_id , loan_number ) depositor = ( customer_id , account_number ) cust_banker = ( customer_id , employee_id , type ) works_for = ( worker_employee_id , manager_employee_id ) payment = ( loan_number , payment_number , payment_date , payment_amount ) savings_account = ( account_number , interest_rate ) checking_account = ( account_number , overdraft_amount ) Silberschatz, Korth and Sudarshan 7.<number> Database System Concepts - 5 th Edition, July 28, 2005. Combine Schemas? Combine Schemas? Suppose we combine borrower and loan to get bor_loan = ( customer_id , loan_number , amount ) Result is possible repetition of information (L-100 in example below) Silberschatz, Korth and Sudarshan 7.<number> Database System Concepts - 5 th Edition, July 28, 2005. A Combined Schema Without Repetition A Combined Schema Without Repetition Consider combining loan_branch and loan loan_amt_br = ( loan_number , amount , branch_name ) No repetition (as suggested by example below) Silberschatz, Korth and Sudarshan 7.<number> Database System Concepts - 5 th Edition, July 28, 2005....
View Full Document

This note was uploaded on 04/28/2010 for the course CSE cse123 taught by Professor Benny during the Spring '10 term at LSU Eunice.

Page1 / 87

ch7 - Database System Concepts, 5th Ed . Silberschatz,...

This preview shows document pages 1 - 7. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online