Huffman Trucking Fleet Vehicle Maintenance Database DBM380 June 13, 2012 Learning Team B.

Slides:



Advertisements
Similar presentations
The Relational Model Chapter Two DAVID M. KROENKE and DAVID J. AUER DATABASE CONCEPTS, 7 th Edition.
Advertisements

DAVID M. KROENKE’S DATABASE PROCESSING, 10th Edition © 2006 Pearson Prentice Hall 3-1 COS 346 Day 5.
Database Design Conceptual –identify important entities and relationships –determine attribute domains and candidate keys –draw the E-R diagram Logical.
Boyce-Codd Normal Form Kelvin Nishikawa SE157a-03 Fall 2006 Kelvin Nishikawa SE157a-03 Fall 2006.
1004INT Information Systems Week 10 Databases as Business Tools.
Normalization of Database Tables
© 2002 by Prentice Hall 1 David M. Kroenke Database Processing Eighth Edition Chapter 5 The Relational Model and Normalization.
Database Design Chapter Five DAVID M. KROENKE and DAVID J. AUER DATABASE CONCEPTS, 7 th Edition.
Chapter 4 Relational Databases Copyright © 2012 Pearson Education, Inc. publishing as Prentice Hall 4-1.
Data at the Core of the Enterprise. Objectives  Define of database systems  Introduce data modeling and SQL  Discuss emerging requirements of database.
Chapter 5 Database Processing.
Database Design Concepts
Data at the Core of the Enterprise. Objectives  Define of database systems.  Introduce data modeling and SQL.  Discuss emerging requirements of database.
Lecture 12 Inst: Haya Sammaneh
SQL Normalization Database Design Lecture 5. Copyright 2006Page 2 SQL Normalization Database Design 1 st Normal Form 1 st Normal Form 2 nd Normal Form.
A Guide to SQL, Eighth Edition Chapter Two Database Design Fundamentals.
Database Design Chapter Five DAVID M. KROENKE’S DATABASE CONCEPTS, 2 nd Edition.
Chapter 1 Overview of Database Concepts Oracle 10g: SQL
1 Chapter 1 Overview of Database Concepts. 2 Chapter Objectives Identify the purpose of a database management system (DBMS) Distinguish a field from a.
Constraints  Constraints are used to enforce rules at table level.  Constraints prevent the deletion of a table if there is dependencies.  The following.
Lecture 2 An Overview of Relational Database IST 318 – DB Admin.
Chapter 5 The Relational Model and Normalization David M. Kroenke Database Processing © 2000 Prentice Hall.
CMPE 226 Database Systems September 16 Class Meeting Department of Computer Engineering San Jose State University Fall 2015 Instructor: Ron Mak
IT420: Database Management and Organization Normalization 31 January 2006 Adina Crăiniceanu
CTFS Workshop Shameema Esufali Suzanne Lao Data coordinators and technical resources for the network
Component 4: Introduction to Information and Computer Science Unit 6: Databases and SQL Lecture 4 This material was developed by Oregon Health & Science.
© 2002 by Prentice Hall 1 Database Design David M. Kroenke Database Concepts 1e Chapter 5 5.
NormalizationNormalization Chapter 4. Purpose of Normalization Normalization  A technique for producing a set of relations with desirable properties,
Concepts of Database Management, Fifth Edition
Database Management COP4540, SCS, FIU Relation Normalization (Chapter 14)
The Relational Model and Normalization R. Nakatsu.
1 A Guide to MySQL 2 Database Design Fundamentals.
Normalization. We will take a look at –First Normal Form –Second Normal Form –Third Normal Form There are also –Boyce-Codd, Fourth and Fifth normal forms.
PLUG IT IN 3 Fundamentals of Relational Database Operations.
1 Structured Query Language (SQL). 2 Contents SQL – I SQL – II SQL – III SQL – IV.
1 A Guide to MySQL 2 Database Design Fundamentals.
Chapter 1Introduction to Oracle9i: SQL1 Chapter 1 Overview of Database Concepts.
Database Design – Lecture 8
IST 318 – DB Administration
Component 4/Unit 6d Topic IV: Design a simple relational database using data modeling and normalization Description and Information Gathering Data Model.
Database Processing: Fundamentals, Design and Implementation, 9/e by David M. KroenkeChapter 4/1 Copyright © 2004 Please……. No Food Or Drink in the class.
Database Management Supplement 1. 2 I. The Hierarchy of Data Database File (Entity, Table) Record (info for a specific entity, Row) Field (Attribute,
Normalization. 2 u Main objective in developing a logical data model for relational database systems is to create an accurate representation of the data,
BSA206 Database Management Systems Lecture 2: Introduction to Oracle / Overview of Database Concepts.
CTFS Workshop Shameema Esufali Asian data coordinator and technical resource for the network
Normalisation RELATIONAL DATABASES.  Last week we looked at elements of designing a database and the generation of an ERD  As part of the design and.
Understand Relational Database Management Systems Software Development Fundamentals LESSON 6.1.
Brian Thoms.  Databases normalization The systematic way of ensuring that a database structure is suitable for general-purpose querying and free of certain.
© 2002 by Prentice Hall 1 David M. Kroenke Database Processing Eighth Edition Chapter 5 The Relational Model and Normalization.
Databases Introduction - concepts. Concepts of Relational Databases.
Database Architecture Normalization. Purpose of Normalization A technique for producing a set of relations with desirable properties, given the data requirements.
NORMALIZATION Handout - 4 DBMS. What is Normalization? The process of grouping data elements into tables in a way that simplifies retrieval, reduces data.
Logical Database Design and Relational Data Model Muhammad Nasir
Huffman Trucking Maintenance Database DeWitt Thornton, Jennifer Morrow Marcus Rogers, Ryan Alger.
DBM 380 AID Focus Dreams/dbm380aid.com
INTRODUCTION TO DATABASES (MICROSOFT ACCESS)
Relational Model.
DBM 380 aid Perfect Education/dbm380aid.com
DBM 380 aid Education Begins/dbm380aid.com
Quiz Questions Q.1 An entity set that does not have sufficient attributes to form a primary key is a (A) strong entity set. (B) weak entity set. (C) simple.
Chapter 4 Relational Databases
Database Normalization
DBM 380 EDU Education for Service-- dbm380edu.com.
Databases and Information Management
The Relational Model and Normalization
Relational Model and ER Model: in a Nutshell
Normalization Referential Integrity
בסיסי נתונים - מצגת ההרצאה - 1.
Databases and Information Management
DATABASE Purpose of database
Presentation transcript:

Huffman Trucking Fleet Vehicle Maintenance Database DBM380 June 13, 2012 Learning Team B

Jorge Alvarez Mark Miller Dominic Rivera Jared Wells

Entities and Attributes Entities and attributes define the columns of data in the database. Entity- the subject of the table, i.e. “Vehicles.”. Attributes- properties that describe the entity, i.e. “Mileage.” Together, entities and attributes become tables organized by columns and rows. Each table will contain a Primary Key (PK). The Entities and Attributes chosen.Entities and Attributes

Entity Relationship Diagram (ERD) The ERD for Huffman maintenance shows the relationships between the tables through Crow’s Feet notation. The diagram above shows the types of relationships in the ERD organized by the type of line connecting the tables. The diagram also shows the reference tables and Primary Keys.

Database Normalization The types of Normalization are: o First Normal Form (1NF) o Second Normal Form (2NF) o Third Normal Form (3NF) o Boyce-Codd Normal Form (BCNF) o Fourth Normal Form (4NF) o Fifth Normal Form (5NF) o Domain/Key Normal Form (DKNF) Normalization eliminates redundancy and anomalies by reorganizing data. The Huffman Fleet Maintenance Database is normalized to 3NF. Columns and data types are unique. All columns rely on PK. All subsets of data are placed into their own tables. Anything above 4NF is at times too time-consuming and costly.

Structured Query Language (SQL) In MySQL, query language is used to INSERT, UPDATE, ALTER, DELETE, and CREATE. ▫CREATE Command - is used to create a database/table.CREATE Command ▫SELECT Command - is used to retrieve data from the database.SELECT Command ▫DELETE Command - is used to delete data from the database.DELETE Command ▫INSERT Command - is used to insert data into a database.INSERT Command ▫UPDATE Command - is used to update the data in a table.UPDATE Command ▫DROP Command - is used to delete or drop the database/table.DROP Command

Structured Query Language (SQL) Database Creation Query delimiter $$ CREATE DATABASE `huffman database` /*!40100 DEFAULT CHARACTER SET latin1 */$$ Table Creation Queries Foreign Key Creation Queries Data Insertion and Modification Queries

Questions?

References Erack Network. (2008) Retrieved June 7, 2012 from Interpreting entity-relationship diagrams. (n.d.). Retrieved from relationship_diagrams.html Kroenke, D. M., & Auer, D. J. (2010). Database concepts (4th ed.). Upper Saddle River, NJ: Pearson/Prentice Hall. Stephens, R. (2009). Beginning database design solutions. Indianapolis, IN: Wiley.