22
Database management system project

Al Syed Institute of Commerce

Embed Size (px)

Citation preview

Page 1: Al Syed Institute of Commerce

8/3/2019 Al Syed Institute of Commerce

http://slidepdf.com/reader/full/al-syed-institute-of-commerce 1/22

Database management system project

Page 2: Al Syed Institute of Commerce

8/3/2019 Al Syed Institute of Commerce

http://slidepdf.com/reader/full/al-syed-institute-of-commerce 2/22

Group Members: 

Muhammad Asif F08MD103

Muhammad Irfan F08MD114Abid Rasheed F08MD126

M.Tayyab Wazir Ali F08MD128

Muhammad Zeeshan F08MD143

Page 3: Al Syed Institute of Commerce

8/3/2019 Al Syed Institute of Commerce

http://slidepdf.com/reader/full/al-syed-institute-of-commerce 3/22

INTRODUCTION Education is a process of moral, spiritual, intellectual,

physical, cultural and most importantly religiousdevelopment of human beings. Education results inthe growth of natural capabilities of a person.

 Al-Syed college of commerce was established in 2007.

  At ‘AL-SYED COLLEGES, we strive to provide the

students with an environment which helps themperform outstandingly in every walk of life.

Page 4: Al Syed Institute of Commerce

8/3/2019 Al Syed Institute of Commerce

http://slidepdf.com/reader/full/al-syed-institute-of-commerce 4/22

INTRODUCTION These colleges are the outcomes of an idea, serving the

nation through the well set infrastructure.

The college is currently offering two programs I.Com &B.Com.

The college has two branches one is at johar town andother is at garden town.

This institution has produced excellent results atsecondary and graduate level.

Page 5: Al Syed Institute of Commerce

8/3/2019 Al Syed Institute of Commerce

http://slidepdf.com/reader/full/al-syed-institute-of-commerce 5/22

Page 6: Al Syed Institute of Commerce

8/3/2019 Al Syed Institute of Commerce

http://slidepdf.com/reader/full/al-syed-institute-of-commerce 6/22

CASE STUDY FOR ER DIAGRAMConsider the following set of requirements for a college database that is used to keep track

of student’s related records. 

The college keeps track of each Student’s Name, Roll No, Address, Phone No, Date of birth, Gender. Roll No have unique value for each student. Students are registered in oneprogram.

Students has a section (A, B). Each section is described by Sec_code and Year. Sectioncode has unique value for every section.

 A program (I.Com, B.Com) is described by its Name, Duration. Each program has asections and each program also have many subjects. Program name have unique valuefor each program.

Each subject is described by subject_name and code. Subject_ code has unique value for

every subject. Each teacher teaches subjects. Each teacher is identified by Name, Address, and Phone

number. Teacher _code have unique value for every teacher.

Every teacher conducts monthly tests. Test is solved by students. Each test is describedby Subject_Name, Test No, Test_date, marks. The value of test no is unique for each test.

Page 7: Al Syed Institute of Commerce

8/3/2019 Al Syed Institute of Commerce

http://slidepdf.com/reader/full/al-syed-institute-of-commerce 7/22

Cardinality & Relationship

Teacher Subject

Program Section

Program

Teach

Have

Has

M11 

M1N 

M11 

M

1N 

M1N 

M11 

Subject

Page 8: Al Syed Institute of Commerce

8/3/2019 Al Syed Institute of Commerce

http://slidepdf.com/reader/full/al-syed-institute-of-commerce 8/22

Cardinality & Relationship

Student Program

Section

Test

Teacher 

Student

Student

Test

Registeredin

Has

Solvedby 

Conduct

NNN 

111N 

111N

1111 

1111 

1111 

1

111N 

Page 9: Al Syed Institute of Commerce

8/3/2019 Al Syed Institute of Commerce

http://slidepdf.com/reader/full/al-syed-institute-of-commerce 9/22

Page 10: Al Syed Institute of Commerce

8/3/2019 Al Syed Institute of Commerce

http://slidepdf.com/reader/full/al-syed-institute-of-commerce 10/22

CASE STUDY FOR EER DIAGRAMConsider the following set of requirements for a college database that is used to keeptrack of student’s related records. 

For each student database maintains information of the Student Name, Roll No, Address,Phone No, gender and Date of birth. Roll No has unique value for each student. Studentsare registered in one program. Students has section (A, B). Students are furtherclassified as Graduate Student and Intermediate Student with specific attribute program(I.Com, B.Com).

Each teacher teaches subjects. Each teacher is identified by T_Code, Name, Address, andPhone number. Teacher_code have unique value for every teacher. Two subclasses of teacher entity type are identified as: Permanent _teacher and Visting_teacher.

Each subject is described by subject_code,name and marks. Subject_ code has unique value for every subject.

Each teacher conducts monthly tests. Test is solved by students. Each test is described by 

Test no, subject name, test date, marks .Test no has a unique value.

Each program is described by its program Name, Duration. Each program has sectionsand each program have subjects. Program name have unique value for each program.

Each section is described by section code and Year. Section code has unique value forevery section.

Page 11: Al Syed Institute of Commerce

8/3/2019 Al Syed Institute of Commerce

http://slidepdf.com/reader/full/al-syed-institute-of-commerce 11/22

Page 12: Al Syed Institute of Commerce

8/3/2019 Al Syed Institute of Commerce

http://slidepdf.com/reader/full/al-syed-institute-of-commerce 12/22

Page 13: Al Syed Institute of Commerce

8/3/2019 Al Syed Institute of Commerce

http://slidepdf.com/reader/full/al-syed-institute-of-commerce 13/22

SCHEMA DIAGRAM

Page 14: Al Syed Institute of Commerce

8/3/2019 Al Syed Institute of Commerce

http://slidepdf.com/reader/full/al-syed-institute-of-commerce 14/22

RELATIONAL SCHEMA DIAGRAM

Page 15: Al Syed Institute of Commerce

8/3/2019 Al Syed Institute of Commerce

http://slidepdf.com/reader/full/al-syed-institute-of-commerce 15/22

NORMALIZATION

Page 16: Al Syed Institute of Commerce

8/3/2019 Al Syed Institute of Commerce

http://slidepdf.com/reader/full/al-syed-institute-of-commerce 16/22

Page 17: Al Syed Institute of Commerce

8/3/2019 Al Syed Institute of Commerce

http://slidepdf.com/reader/full/al-syed-institute-of-commerce 17/22

Page 18: Al Syed Institute of Commerce

8/3/2019 Al Syed Institute of Commerce

http://slidepdf.com/reader/full/al-syed-institute-of-commerce 18/22

Page 19: Al Syed Institute of Commerce

8/3/2019 Al Syed Institute of Commerce

http://slidepdf.com/reader/full/al-syed-institute-of-commerce 19/22

Page 20: Al Syed Institute of Commerce

8/3/2019 Al Syed Institute of Commerce

http://slidepdf.com/reader/full/al-syed-institute-of-commerce 20/22

Page 21: Al Syed Institute of Commerce

8/3/2019 Al Syed Institute of Commerce

http://slidepdf.com/reader/full/al-syed-institute-of-commerce 21/22

Page 22: Al Syed Institute of Commerce

8/3/2019 Al Syed Institute of Commerce

http://slidepdf.com/reader/full/al-syed-institute-of-commerce 22/22

RELATIONAL MODEL