Payroll Management System

Slides:



Advertisements
Similar presentations
Normalisation.
Advertisements

Chapter 5 Normalization of Database Tables
5 5 Normalization of Database Tables Database Systems: Design, Implementation, and Management 4th Edition Peter Rob & Carlos Coronel.
Chapter 5 Normalization of Database Tables
Chapter 5 Normalization of Database Tables
FEN Introduction to the database field: Quality checking table design: Design Guidelines Normalisation Seminar: Introduction to relational.
Normalisation to 3NF Database Systems Lecture 11 Natasha Alechina.
Ch 10, Functional Dependencies and Normal forms
Need for Normalization
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.
Normalization of Database Tables
NORMALIZATION N. HARIKA (CSC).
Introduction to Schema Refinement. Different problems may arise when converting a relation into standard form They are Data redundancy Update Anomalies.
Chapter 3 The Relational Model and Normalization
Daniel AdinugrohoDatabase Programming 1 DATABASE PROGRAMMING Lecture on 29 – 04 – 2005.
DBSQL 4-1 Copyright © Genetic Computer School 2009 Chapter 4 Database Design.
Lecture 12 Inst: Haya Sammaneh
Q1: What is DBMS and explain its architecture. Q2: Explain Data Independence in detail. Q3: What is database user and explain the types of database user.
NormalizationNormalization Chapter 4. Purpose of Normalization Normalization  A technique for producing a set of relations with desirable properties,
Chapter 4 The Relational Model and Normalization.
Normalization (Codd, 1972) Practical Information For Real World Database Design.
Database Design (Normalizations) DCO11310 Database Systems and Design By Rose Chang.
Lecture 1 of Advanced Databases Basic Concepts Instructor: Mr.Ahmed Al Astal.
SALINI SUDESH. Primarily a tool to validate and improve a logical design so that it satisfies certain constraints that avoid unnecessary duplication of.
M Taimoor Khan Course Objectives 1) Basic Concepts 2) Tools 3) Database architecture and design 4) Flow of data (DFDs)
Normalization Well structured relations and anomalies Normalization First normal form (1NF) Functional dependence Partial functional dependency Second.
By Abdul Rashid Ahmad. E.F. Codd proposed three normal forms: The first, second, and third normal forms 1NF, 2NF and 3NF are based on the functional dependencies.
11/07/2003Akbar Mokhtarani (LBNL)1 Normalization of Relational Tables Akbar Mokhtarani LBNL (HENPC group) November 7, 2003.
Database Design – Lecture 8
Chapter 5.1 and 5.2 Brian Cobarrubia Database Management Systems II January 31, 2008.
Functional dependencies and normalization 1 Normalization Functional dependencies NF + BCNF.
Logical Database Design and Relational Data Model Muhammad Nasir
Normalization.
COP 6726: New Directions in Database Systems
A Guide to SQL, Eighth Edition
Functional Dependency and Normalization
Introduction to the database systems (1)
CS422 Principles of Database Systems Normalization
SEEM3430: Information Systems Analysis and Design
A brief summary of database normalization
Chapter 5: Logical Database Design and the Relational Model
Chapter 15 Basics of Functional Dependencies and Normalization for Relational Databases.
CS422 Principles of Database Systems Normalization
Functional Dependencies
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.
Relational Database Design by Dr. S. Sridhar, Ph. D
Normalization DBS201.
Database Management System
Database Normalization
Chapter 15 Basics of Functional Dependencies and Normalization for Relational Databases.
CMPE 226 Database Systems February 21 Class Meeting
Relational Model and ER Model: in a Nutshell
Database Normalization
Chapter 6 Normalization of Database Tables
Chapter 4.1 V3.0 Napier University Dr Gordon Russell
Normalization Dale-Marie Wilson, Ph.D..
Normalization.
Database Design Agenda
Normalisation to 3NF.
Normalization February 28, 2019 DB:Normalization.
Normalization of DB relations examples Fall 2015
Sampath Jayarathna Cal Poly Pomona
Relational Database Design
Introduction to Database Design
Database Normalization.
Chapter 4 The Relational Model and Normalization
Normalization DBS201.
Database.
Normalisation 1 Unit 3.1 Dr Gordon Russell, Napier University
Presentation transcript:

Payroll Management System Pasupuleti Ravi Teja U00298378

The PAYROLL SYSTEM is being designed to store the details of the pay being given to the employees. The company requires a database that needs to store the information of employees and their payroll system.

The information that this system should store about an employee is: Employee details like id, Name, birth place, birth date Type of name like first name, middle name, last name Type of address like address, city, state, country, postal code, home phone, cell Personal details like marriage status, educational details Details of department, compensation, earnings, deductions, cheque

The following symbols are used in designing the ER diagram:

ER Diagram:

Query to create Employee table with description of fields

Query to create Earning description

Functional Dependency Functional dependency (FD) is a set of constraints between two attributes in a relation. Functional dependency says that if two tuples have same values for attributes A1, A2,..., An, then those two tuples must have same values for attributes B1, B2, ..., Bn. Functional dependency is represented by an arrow sign (→) that is, X→Y, where X functionally determines Y. The left-hand side attributes determine the values of attributes on the right-hand side.  A functional dependency is a relationship between two attributes. Typically between the PK and other non-key attributes with in the table.

Normalization Normalization is a method to remove anomalies and bring the database to a consistent state. First Normal Form - As per First Normal Form, no two Rows of data must contain repeating group of information. Second Normal Form - No non-prime attribute is dependent on the proper subset of any candidate key of the table. Third Normal Form - Transitive functional dependency of non-prime attribute on any super key should be removed

Normalization In other words 3NF can be explained like this: A table is in 3NF if it is in 2NF and for each functional dependency X-> Y at least one of the following conditions hold: X is a super key of table and Y is a prime attribute of table Boyce-Codd Normal Form - It is an advance version of 3NF that’s why it is also referred as 3.5NF. BCNF is stricter than 3NF. A table complies with BCNF if it is in 3NF and for every functional dependency X->Y, X should be the super key of the table.

ER DIAGRAM | BCNF NORMALIZATION

What I learnt from the project: For this project I had to create an ER diagram, create tables based on the diagram, insertion of tuples, creating sql queries I got to know the real meaning, what a strong entity is and what is a weak entity, what is a primary key, partially unique key, meaning of the symbols that are used in an ER diagram, how to represent relationships, how to represent different entities, I got to know on how to represent an attribute, types of attribute like multivalued, derived etc. types of relationships used. While creating the tables, I leant a lot of sql statements used to create, modify, update and delete the tables, statements to see all possible statements, description of tables, code to limit the size of answer, code to see the values in tables, code to insert tuples.