Escolar Documentos
Profissional Documentos
Cultura Documentos
Contents
Overview of Project Introduction Environment Problems & Constraints Data source Business Rules Entity Relationship & Normalization Specialization
4/13/12 Entities Relationship Diagram
Overview of Project
Focus on
Introduction
4/13/12
4/13/12
4/13/12
4/13/12
Environment
4/13/12
4/13/12
Data source
4/13/12
OBJECTIVES
Store Information in Systematic Manner Reduce the Problem of End-user Easy to Store an Retrieval Track the Information
4/13/12
4/13/12
Represen ting
Plac e Pers on
Employee
Represen ting
4/13/12
Account
Represen ting
Even t
Customer
Represen ting
Pers on
4/13/12
Customer
Account
4/13/12
Specialization
Employee
Types of Employ ee Custom er Types
Customer
4/13/12
4/13/12
4/13/12
create table Account ( Account_type text, Open_date date, Close_date date, Balance number, Department_ID memo, 4/13/12
Account
create table Customer ( Customer_ID number primary key, First_name text, Last_name text, Birthdate date, Address memo );
Custome r
create table Customer_type Customer Types ( Customer_category text, Gender text, Customer_ID number primary key, foreign key (Customer_ID) references Customer (Customer_ID) ) 4/13/12
INSERT INTO Customer ( Customer_ID, First_name, Last_name, Birthdate, Address ) VALUES (35101, 'raman', 'deol', 21-11985, 'h-no 11 st-no 4 Rhs nagar moga'); INSERT INTO Department ( Department_ID, Department_name ) VALUES (Adp001, 'cash department');
4/13/12
INSERT INTO Type_of_employee ( Position_hold, position_startdate, Salary_startdate, Employee_ID ) VALUES ('manager', 25-11-2009, 25-12-2009, 15310);
INSERT INTO Customer_type ( Customer_category, Gender, Customer_ID ) VALUES ('general', 'male', 35101);
INSERT INTO Employee ( Employee_ID, First_name, Last_name, Ph_number, Email_address, Qualification, Start_date, Salary, Department_ID ) VALUES (15310, 'ravi', 'kumar', 98769-89544, 'ravi_k@gmail.com', 'MBA finance', 5-20-2005, 35000, Adp001);
4/13/12
SELECT * FROM Employee WHERE sex='female'; SELECT * FROM Customer WHERE FirstName=Ashish' AND LastName=katyal';
4/13/12
4/13/12
QUESTIONS ?
4/13/12
4/13/12