Preview

Er Diagram Credit Card Sales

Satisfactory Essays
Open Document
Open Document
271 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
Er Diagram Credit Card Sales
CREDIT CARD SALES SYSTEM

The main entities of a Credit Card Sales System are: 1. Customer 2. Orders 3. Order Details 4. Bank 5. Retailer

The main relationships among entities of a credit card sales System are:

1. Customer places an order. 2. Order contains order details. 3. An Order detail has a product. 4. Bank completes the payment.

The main assumptions in a Credit Card Sale System are: 1. The Customer and the Retailer have an account in the same bank. 2. Instead of the grid through which all the banks are connected the payment is processed by the bank for simplicity.

E-R Diagram

Tables and Primary Keys

Normalization Forms

The three normalization forms are 1. First normal form 2. Second normal form 3. Third normal form

First normal form
First normal form states that there should be no repeating elements or groups of elements in any table of database. As we can see that every table has a primary key which is unique for every tuple in every table so we can’t have repeating elements or groups of elements in any table.

Second normal form
Second normal form states that there should be no partial dependencies on a concatenated key. As we can see that we don’t have any concatenated key in any table so there any partial dependency does not exist.

Third normal form
Third normal form states that there should be no dependencies on non-key attributes. As we can see that all the attributes of every table depends upon only primary key so there is no dependency of any attribute on non-key

You May Also Find These Documents Helpful

  • Satisfactory Essays

    6 T | Normal forms are sets of rules designed to remove anomalies and redundancy from database design.…

    • 313 Words
    • 1 Page
    Satisfactory Essays
  • Satisfactory Essays

    It203 Homework 5

    • 319 Words
    • 2 Pages

    5. What restrictions does referential integrity place on the way data is entered into tables?…

    • 319 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    No Ans: CREATE TABLE dept (deptno NUMBER(2) NOT NULL, dname VARCHAR2(30) NOT NULL, loc VARCHAR2(20) CONSTRAINT deptno_pk PRIMARY KEY (deptno)); b. Table name: EMP i. Column datatype Mandatory? PK? FK?…

    • 1169 Words
    • 5 Pages
    Satisfactory Essays
  • Satisfactory Essays

    PT2520 Week 3 Forum

    • 190 Words
    • 1 Page

    Normalization is a process for evaluating and correcting table structures to minimize data redundancies and by helping to eliminate data anomalies. It helps evaluate table structures and produce good tables.…

    • 190 Words
    • 1 Page
    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
  • 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
  • Good Essays

    Nt1320 Unit 7

    • 2041 Words
    • 9 Pages

    The database design team transforms entities into tables and expresses relationships by defining foreign keys. The tables in the model are to be normalized before converting them into designs. Normalization is the process of converting poorly structured tables into two or more well-structured tables. Database practitioners classify tables into various normal forms according to the kinds of problems they have. Transforming a table into a normal form to remove duplicated data and other problems is called normalizing the table. After normalizing, the designer should represent the relationship among those tables to complete the design.…

    • 2041 Words
    • 9 Pages
    Good Essays
  • Satisfactory Essays

    Pt2520 Final Answers 1/3

    • 329 Words
    • 2 Pages

    what best describes the function of a foreign key. the primary key repeated in another table to show relation…

    • 329 Words
    • 2 Pages
    Satisfactory Essays
  • Good Essays

    Defining a(n) primary key in a second table creates a relationship between that table and the table where the primary key was first defined. _________________________…

    • 585 Words
    • 3 Pages
    Good Essays
  • Satisfactory Essays

    week 4 Discussion 1

    • 447 Words
    • 2 Pages

    If we are going to develop Database, we might as well make it look good. By doing this, we can improve the database ability to provide information and to enhance the operational characteristics. It is important to understand that normalization cannot be relied on to make designs by itself but will need to by create separately. The following two methods can be used to improve the design of database system.…

    • 447 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    The design is now in 2NF and also in 3NF. For the course assignment, you may stop here. If you wish to bring the design to 4NF, split the relation with the multidependencies:…

    • 268 Words
    • 2 Pages
    Satisfactory Essays
  • Good Essays

    Database concepts

    • 586 Words
    • 3 Pages

    In database normalization, one of the important features of third normal form is that it excludes certain types of transitive dependencies. E.F. Codd, the inventor of the relational model, introduced the concepts of…

    • 586 Words
    • 3 Pages
    Good Essays
  • Good Essays

    Questions Unit 2 Pt2520

    • 389 Words
    • 2 Pages

    * Natural keys prevent duplicate rows, because the attributes are part of the primary key. Any duplicate set of data will be rejected from being inserted by plain primary key logic (unique and not null). This dramatically increases the overall data quality compared to artificial keys.…

    • 389 Words
    • 2 Pages
    Good 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
  • Powerful Essays

    IST223-GHW7FS13

    • 2215 Words
    • 9 Pages

    Specify NULL/NOT NULL constraints for each table column. Also specify alternate keys, if any. Use the following table form.…

    • 2215 Words
    • 9 Pages
    Powerful Essays

Related Topics