Entity Relationship Example

Entity Relationship Example

<p>BA471 – Fall 2007</p><p>Entity Relationship Diagram - Example:</p><p>An automotive repair garage takes orders from customers who want to have their cars repaired. </p><p>In this example, ORDER, PART, SUPPLIER, and CUSTOMER are entities. </p><p>These four entities in the automotive repair garage database have the following attribute types:</p><p>1) CUSTOMER: Customer#, CName, C_Street_Address, C_State, C_Zip, CPhone, CEmail</p><p>2) SUPPLIER: Supplier#, SName, SAddress, SPhone, SEmail</p><p>3) ORDER: Order#, Part#, #OfParts</p><p>4) PART: Part#, PartDescription, UnitPrice, Supplier#</p><p>Facts to know about the database:  The business takes orders from many customers  A customer can place many orders  Each order relates to only one customer.  Each part comes from only one supplier  A supplier can supply many parts  An order could contain many parts  Each part can be ordered multiple times (on different orders). </p><p>Question: Draw an entity-relationship diagram (ERD) to represent the above information. </p>

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    1 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us