DB Modeling Exam Practical Answer the following questions. 1.Create an E-R schema for a databa system ud to manage account information at a community bank. The bank has veral branches with unique names. A customer may have one or more accounts in one or more branches. An account must belong to one and only one branch. Each account is operated on by transactions, which may be deposits to or withdrawals from some account. The databa keeps track of all the transactions on each account, in addition to the balance of individual accounts and the asts of individual branches. For each entity, specify all its attributes, primary key, and alternate key(s). In your ER schema, be sure to capture the cardinality constraints and participation constraints of all relationships. Make reasonable assumptions to complete the specification. Explicitly state all your assumptions. EVERY construct in your ER schema should be substantiated by either the specification above or your explicit assumptions. 2.The following table stores information about which suppliers can supply which parts. The table captures the fact that a part who name is PartName and who ID is PartID can be supplied by suppliers who names are in SupplierName and who IDs are in SupplierID. Note that a part can be supplied by many suppliers, and a supplier can supply many parts.
3.阻抑Perform the following tasks. 1.List the primary key. 2.List all the FDs. upon a christmas night3.What normal form is the relation in Explain. 4.Apply normalization to it incrementally, carrying the normalization process through each of the higher normal forms possible up to 3NF. That is, if the relation were unnormalized, bring it to first normal form, then bring the first normal form you've just created to cond normal form, and then bring the cond normal form to third normal form. For each transformation to the next higher normal form X, Explain the steps you took to bring it to the normal form X. Provide the normal form X's table structure, primary key(s), and the FDs. Explain why you think it is in the normal form X. For example, if you think there is a partial dependency, fully defend your conclusion by explaining how a column is partially dependent on some other column(s). That is, if the relation were in an unnormalized form, you would explain the transformation you performed to bring it to first, cond, and third normal forms. You would also provide the table structure, the primary key and the FDs for the first, cond, and third normal forms. You would also provide explanation for why you believe it is in first, cond, and third normal forms. 4.Convert the following E-R schema into a relational schema using the mapping algorithm specified in this cour. Specify key and referential integrity constraints, using directed arcs. Make sure you also identify alternate keys. Label each step of the mapping algorithm. | 如何提升进店率 | ||||||||||||||||||||||||||
本文发布于:2023-06-16 18:51:42,感谢您对本站的认可!
本文链接:https://www.wtabcd.cn/fanwen/fan/90/147284.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
留言与评论(共有 0 条评论) |