1 / 13

Database Design- Chapter 12

This chapter provides an overview of conventional files and relational databases, discussing their pros and cons, key concepts such as entities, attributes, and relationships, and the SQL code to create database structures. It also covers the different types of keys and integrity constraints. The chapter further introduces E-R diagrams, the physical database model, and relational database management systems (RDBMS). Lastly, it explains the concepts of normal forms, including 1NF, 2NF, and 3NF.

adamsgeorge
Télécharger la présentation

Database Design- Chapter 12

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Database Design- Chapter 12

  2. Introduction • Conventional files and relational databases • Pros and Cons of Conventional Files • Fields, records, files, and databases • Entities, attributes, and relationships • SQL code to create the database structures in a schema

  3. Keys • Primary key • Secondary key • Foreign key

  4. Integrity • Entity Integrity • Referential Integrity

  5. Database Concepts • Records • Fixed-length record structure • Variable-length record structure • Files • Master files • Transaction Files • Archival files • Table look-up files

  6. Database Design

  7. E-R Diagram

  8. Physical Database Model

  9. Relational Database Management Systems • DDL (Data Definition Language) • DML (Data manipulation Language) • SQL (Structured Query Language)

  10. Normal Forms • 1NF: If there are no attributes that can have more than one value for a single instance of the entity. • 2NF: 1NF, and if the values of all non-primary key attributes are dependent on the full primary key – not just part of it. • 3NF: 2NF, and if the values of its non-primary key attributes are not dependent on any other non-primary key attributes.

More Related