Question 3: Design an E-R diagram for the database of the world-wide package delivery companies (e.g., DHL or FedEx).
The database must be able to keep track of customers (who ship items) and customers (who receive the items); some customers may do both.
Each customer must have one or more addresses but the shipped package must be sent to only one address of target shipping.
Each package must be identifiable and track able,
so the database must be able to store location of the package and its history of locations.
Locations include sub-city, city (state), country, date, time and activity.
Your design should avoid redundancy and include an E-R diagram, a set of relational tables, and a list of attributes, data types and constraints, including primary-key, foreign-key and not-null constraints.
Question 3: Design an E-R diagram for the database of the world-wide package delivery companies (e.g., DHL or FedEx). The database must be able to keep track of customers (who ship items) and customers (who receive the items); some customers may do both.Each customer must have one or more addresses but the shipped package must be sent to only one address of target shipping.Each package must be identifiable and track able, so the database must be able to store location of the package and its history of locations.Locations include sub-city, city (state), country, date, time and activity.Your design should avoid redundancy and include an E-R diagram, a set of relational tables, and a list of attributes, data types and constraints, including primary-key, foreign-key and not-null constraints.
การแปล กรุณารอสักครู่..

คำถามที่ 3 : ออกแบบแผนภาพ E-R ระบบฐานข้อมูลของบริษัททั่วโลกการจัดส่งบรรจุภัณฑ์ ( เช่น DHL หรือ FedEx )ฐานข้อมูลต้องสามารถติดตามลูกค้า ( ที่จัดส่งสินค้า ) และลูกค้า ( ใครรับรายการ ) ; ลูกค้าบางคนอาจทำทั้งสองอย่างลูกค้าแต่ละรายจะต้องมีหนึ่งหรือมากกว่าที่อยู่แต่จัดส่งแพคเกจต้องส่งที่อยู่ในการจัดส่งเพียงหนึ่งเป้าหมายแต่ละแพคเกจจะต้องระบุและติดตามได้ดังนั้นฐานข้อมูลต้องสามารถเก็บตำแหน่งของแพคเกจและประวัติความเป็นมาของสถานที่รวมถึงสถานที่ย่อย ( รัฐ ) ในเมือง , เมือง , ประเทศ , วันที่ , เวลาและกิจกรรม .การออกแบบของคุณควรหลีกเลี่ยงความซ้ำซ้อน และรวมเป็น E-R Diagram , ชุดของตารางเชิงสัมพันธ์ และรายการคุณลักษณะ ชนิดข้อมูล และข้อจำกัด รวมถึงคีย์หลัก , คีย์ต่างประเทศและไม่ null ข้อจำกัด
การแปล กรุณารอสักครู่..
