TAILIEUCHUNG - McGraw-Hill - Databases_ A Beginner_s Guide (2009)02

McGraw-Hill - Databases_ A Beginner_s Guide (2009)02 | 12 Databases A Beginner s Guide Customer File Customer ID Company Name Contact First Name Contact Last Name Job Title City State 6 Company F Francisco Perez-Olaeta Purchasing Manager Milwaukee WI 26 Company Z Run Liu Accounting Assistant Miami FL Employee File Employee ID First Name Last Name Title 2 Andrew Cencini Vice President Sales 5 Steven Thrope Sales Manager 9 Anne Hellung-Larsen Sales Representative Product File Product ID Product Code Product Name Category Quantity Per Unit List Price 5 NWTO-5 Northwind Traders Olive Oil Oil 36 boxes 7 NWTDFN-7 Northwind Traders Dried Pears Dried Fruit Nuts 12 - 1 lb pkgs 40 NWTCM-40 Northwind Traders Crab Meat Canned Meat 24 - 4 oz tins 41 NWTSO-41 Northwind Traders Clam Chowder Soups 12 - 12 oz cans 48 NWTCA-48 Northwind Traders Chocolate Candy 10 pkgs 51 NWTDFN-51 Northwind Traders Dried Apples Dried Fruit Nuts 50 - 300 g pkgs Order File Order ID Customer ID Employee ID Order Date Shipped Date Shipping Fee 51 26 9 4 5 2006 4 5 2006 56 6 2 4 3 2006 4 3 2006 79 6 2 6 23 2006 6 23 2006 Order Detail File Order ID Product ID Unit Price Quantity 51 5 15 51 41 21 51 40 2 56 48 20 79 7 14 79 51 8 Figure 1-2 Flat file order system ramifications of repeating all the customer data on every single order line item. You might not be able to add a new customer until the customer has an order ready to place. Also if someone deletes the last order for a customer you would lose all the information about the customer. But the worst is when customer information changes because you have to find and update every record in which the customer data is repeated. You will explore these issues in more detail when I present logical database design in Chapter 7. Chapter 1 Database Fundamentals 13 Another alternative approach often used in flat file-based systems is to combine closely related files such as the Order file and Order Detail file into a single file with

TỪ KHÓA LIÊN QUAN
TAILIEUCHUNG - Chia sẻ tài liệu không giới hạn
Địa chỉ : 444 Hoang Hoa Tham, Hanoi, Viet Nam
Website : tailieuchung.com
Email : tailieuchung20@gmail.com
Tailieuchung.com là thư viện tài liệu trực tuyến, nơi chia sẽ trao đổi hàng triệu tài liệu như luận văn đồ án, sách, giáo trình, đề thi.
Chúng tôi không chịu trách nhiệm liên quan đến các vấn đề bản quyền nội dung tài liệu được thành viên tự nguyện đăng tải lên, nếu phát hiện thấy tài liệu xấu hoặc tài liệu có bản quyền xin hãy email cho chúng tôi.
Đã 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.