Preview

Relational Model

Good Essays
Open Document
Open Document
406 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
Relational Model
Figure 2. Relational Model provides an overview of the table content, table column/attributes and the relationships that connects them. The identified relationships are as follow: a single customer can make multiple sales (1:M), a single sale contains specific set of sales details (1:1), the same payment could be used for multiple sales (1:M). Furthermore, an order details can contain multiple books or product items (1:M), a single author can have multiple books in the store (1:M) just as a single publisher can publish many different books and authors (1:M). Our database features 9 tables: Customers, Sales, SalesDetails, Product, Product_Categories, Books, Authors, Publisher and Payments. The Customers table consists of attributes/columns such as C_ID (Primary key), CustomerName, Street, City, State, zip, email and phone number. The table connect with Sales via its primary key C_ID and the attribute/column C_ID and their relationship as a foreign key. Sales also features its own primary key Sales_ID and a second foreign key Payment_ID, which features a relationship with the Payments table with its primary key Payment_ID, additional columns/attributes include: P_Type, AuthNo, Post_date, Customer_Name, TranNo. …show more content…
The Product table also features Product_Name, Category_ID, quantity on hand and Qty_sold, it only contains one foreign key Category_ID that connect to the Product_Categories table and its primary key Category_ID. The also features the columns Item_type and

You May Also Find These Documents Helpful

  • Good Essays

    Service Request SR-ht-03

    • 569 Words
    • 2 Pages

    Next is the explanation of what are in the tables and the entity relationship between them. Table Tire Maintenance, this table has a relationship with Table Vehicle Maintenance. Their relationship is when the maintenance type ID is entered into the database it is automatically connected to the Table Maintenance work order section of the database. Table Maintenance work order has a relationship with Table Vehicle Types for type of vehicle. Part ID relates to Table parts Inventory Issues to link any kind of parts inventory subjects. Table Parts Inventory Issues has a relationship with Table Parts Inventory Purchases for any type of purchase information. Table Parts Catalogue has relationship with Table…

    • 569 Words
    • 2 Pages
    Good Essays
  • Good Essays

    Boston Bottles

    • 614 Words
    • 3 Pages

    Draw an REA diagram with cardinalities and tables with primary keys, foreign keys, and non-key attributes for the following business:…

    • 614 Words
    • 3 Pages
    Good Essays
  • Satisfactory Essays

    1. Entities in the conceptual model eventually are converted to tables in the database, and the attributes convert to the fields within the tables. Given this information, list the attributes (fields) found in the supplier table.…

    • 314 Words
    • 2 Pages
    Satisfactory Essays
  • Good Essays

    It2640 Week 5 Appendix B

    • 632 Words
    • 3 Pages

    Prior to designing my database, I will have a clear understanding of the data. This will allow me to determine the purpose of the database. Once all information is gathered, I will divide this information into tables. Information will be properly placed into columns and I will set a primary key. Upon completion of table design, I will set the relationships between tables. I will refine my design and apply normalization rules to my design.…

    • 632 Words
    • 3 Pages
    Good Essays
  • Powerful Essays

    IST223 Crib sheet

    • 3425 Words
    • 7 Pages

    rectangles, and relationships are shown by lines between the rectangles. Attributes are generally listed within the rectangle. The many side of many relationships is represented by a crows footentity-relationship (E-R) modelA set of constructs and conventions used to create data models. The things in the users world are represented by entities, and the associations among those things are represented by relationships. The results are usually documented in an entity-relationship (E-R) diagramID-dependent entityan entity whose identifier includes the identifier of another entityidentifierwhich are attributes that name, or identify, entity instancesidentifying relationshipIn such relationships, the parent is always required, but the child (the ID-dependent entity) may or may not be required, depending on application requirements. Identifying relationships are shown with solid lines in E-R diagrams.is-aRelationships among supertype/subtype entitiesmandatoryat least one entity instance must participate in the relationshipmaximum cardinalityThe maximum cardinality is the maximum number of entity instances that can participate in a relationship instance.minimum cardinalityThe minimum cardinality is the minimum number of entity instances that must participate in a relationship instance.nonidentifying relationshiprelationship drawn with a dashed line (refer to Figure 5-7) is used between strong entities and is called a nonidentifying relationship because there are no ID-dependent entities in the relationship.null valueare a problem because they are ambiguous. They can mean that a value is inappropriate, unknown, or known, but not yet been entered into the databaseparentAn entity or row on the one side of a one-to-many relationshiprecursive relationshipoccurs when an entity type has a relationship to itself.relationship classAssociations among entity classesrelationship instanceassociations among entity instances.strong entityan entity that represents something that can exist…

    • 3425 Words
    • 7 Pages
    Powerful Essays
  • Satisfactory Essays

    cis3730_Exam1_Studyguide

    • 512 Words
    • 2 Pages

    Be able to give examples of tables, specify their primary keys, and explain how they are related through foreign keys.…

    • 512 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    The Entity Relationship Diagram, also known as (ERD) demonstrates the relationship between data in the new database. ERD shows the logical path that the data follows. The data model gives one understanding and the visual representation to observe the different phases of the database and determine the path the information is pulled or stored from. Learning Team D demonstrate linking the different tables in the Fleet Truck Maintenance database. The creation of the logical path predicts the flow of the data entered and the tables relationship to other tables in the database.…

    • 553 Words
    • 3 Pages
    Satisfactory Essays
  • Satisfactory Essays

    This memo is to inform you that your service request SR-ta-001 has reached my desk and currently is in the process of being completed. The purpose of this memo is to report the progress on the service requests. Currently I am in the stage of normalizing the database to the third normal form. By normalizing the database to the third level of normalization I will ensure that the data is efficiently organized within the database by removing duplicate and redundant data from the database relations. Normalizing the data to the normal third will help free up space and make it easier for the users to retrieve the data by elimination of the same data stored in more than one relation. In addition, normalizing to this level will also ensure data integrity, scalability, and storage efficiency. I have made sure that that there are no repeating columns or rows within the same tables and each column has only one value and one data type therefore the level of 1 normalization has been completed. I then continued to normalize the database to the second level of normalization by ensuring that each nonkey attribute is fully dependent on the key columns of the table. Once level one and two normal form had been completed I continued by establishing primary and foreign keys along with relationships. I will keep in contact with you as the project nears completion.…

    • 329 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Ilab Instructions

    • 2258 Words
    • 10 Pages

    Relying on detailed instructions, create a simple conceptual model for a two-table database using MS Visio.…

    • 2258 Words
    • 10 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Entity-relationship Model

    • 411 Words
    • 2 Pages

    9. Cardinality- Cardinality refers to the number of allowed related rows between entities. The usual one-to-many relationship assumes that for each one record in the primary key entity, there can be any number of related rows in the foreign key entity.…

    • 411 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Logic Model

    • 252 Words
    • 2 Pages

    Increased knowledge of community resources helpful to their needs as documented on a pre/post assessment.…

    • 252 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Relational Database Paper

    • 547 Words
    • 3 Pages

    A relationship is an important component of a relational database. A relationship exists between two tables when one or more key fields from one table are matched to one or more key fields in another table. The fields in both tables usually have the same name, data type, and size. It also helps to further refine table structures and minimize redundant data.…

    • 547 Words
    • 3 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Information Systems

    • 386 Words
    • 2 Pages

    d) Explain how the two tables are related. Which table contains the foreign key? What is the foreign key?…

    • 386 Words
    • 2 Pages
    Satisfactory Essays
  • Better Essays

    Normalization of the database: This is a critical step for making the database. Normalization will help create table structures as well…

    • 3100 Words
    • 13 Pages
    Better Essays
  • Powerful Essays

    Countless are the bounties of our Lord Almighty. The minerals lying hidden inside the bowels of mother earth, the sundry season and the various crops sprouting and flourishing in those seasons and then their mouth-watering, tastes tickling our buds – ”Oh which of Allah’s blessings can you deny.”…

    • 1569 Words
    • 7 Pages
    Powerful Essays