SlideShare a Scribd company logo
1 of 3
Download to read offline
Mrs. Sunita M Dol, CSE Department
WIT, Solapur Page 1
1.University Example
2.1 Database Design for University
2.1.1 Data Requirements for the University Database
Here are the major characteristics of the university.
 The university is organized into departments. Each department is identified by a unique name (dept
name), is located in a particular building, and has a budget.
 Each department has a list of courses it offers. Each course has associated with it a course id, title,
dept name, and credits, and may also have have associated prerequisites.
 Instructors are identified by their unique ID. Each instructor has name, associated department (dept
name), and salary.
 Students are identified by their unique ID. Each student has a name, an associated major department
(dept name), and tot_cred (total credit hours the student earned thus far).
 The university maintains a list of classrooms, specifying the name of the building, room number, and
room capacity.
 The university maintains a list of all classes (sections) taught. Each section is identified by a course
id, sec id, year, and semester, and has associated with it a semester, year, building, room number, and
time slot id (the time slot when the class meets).
 The department has a list of teaching assignments specifying, for each instructor, the sections the
instructor is teaching.
 The university has a list of all student course registrations, specifying, for each student, the courses
and the associated sections that the student has taken (registered for).
2.1.2 Entity Sets for the Bank Database
The entity sets in design are listed below:
 classroom: with attributes (building, room number, capacity).
 department: with attributes (dept name, building, budget).
 course: with attributes (course id, title, credits).
 instructor: with attributes (ID, name, salary).
 section: with attributes (course id, sec id, semester, year).
 student: with attributes (ID, name, tot cred).
 time_slot: with attributes (time slot id, {(day, start time, end time) }).
 prereq: with attributes (course_id, prereq_id)
2.1.3 Relationship Sets Designation
The relationship sets in design are listed below:
 inst_dept: relating instructors with departments.
 Stud_dept: relating students with departments.
 teaches: relating instructors with sections.
 takes: relating students with sections, with a descriptive attribute grade.
Mrs. Sunita M Dol, CSE Department
WIT, Solapur Page 2
 course_dept: relating courses with departments.
 sec_course: relating sections with courses.
 sec_class: relating sections with classrooms.
 sec_time_slot: relating sections with time slots.
 advisor: relating students with instructors.
 prereq: relating courses with prerequisite courses.
2.1.4 E-R Diagram
Figure 1 depicts the full representation of a conceptual model of a university, expressed in terms of E-R
concepts. The diagram includes the entity sets, attributes, relationship sets, and mapping cardinalities arrived
at through the design processes
Figure 1: E-R diagram for a banking enterprise.
Mrs. Sunita M Dol, CSE Department
WIT, Solapur Page 3
References:
 Database system concepts by Abraham Silberschatz, Henry F. Korth, S. Sudarshan (McGraw Hill
International Edition) sixth edition.
 Database system concepts by Abraham Silberschatz, Henry F. Korth, S. Sudarshan (McGraw Hill
International Edition) fifth edition.
 http://codex.cs.yale.edu/avi/db-book/db4/slide-dir/
 http://codex.cs.yale.edu/avi/db-book/db5/slide-dir/
 http://codex.cs.yale.edu/avi/db-book/db6/slide-dir/

More Related Content

Similar to 1. University Example.pdf

Lecture_01.1.pptx
Lecture_01.1.pptxLecture_01.1.pptx
Lecture_01.1.pptxRockyIslam5
 
Solving Course Selection Problem by a Combination of Correlation Analysis and...
Solving Course Selection Problem by a Combination of Correlation Analysis and...Solving Course Selection Problem by a Combination of Correlation Analysis and...
Solving Course Selection Problem by a Combination of Correlation Analysis and...IJECEIAES
 
Design For InstructionTeacher will now design the instruction
Design For InstructionTeacher will now design the instruction Design For InstructionTeacher will now design the instruction
Design For InstructionTeacher will now design the instruction LinaCovington707
 
Vermette Uf 300 syllabus hybrid fall 2013
Vermette Uf 300 syllabus hybrid fall 2013Vermette Uf 300 syllabus hybrid fall 2013
Vermette Uf 300 syllabus hybrid fall 2013lindavermette
 
USAID comet program toolkits learning institute kmutt 31 oct'16
USAID comet program toolkits learning institute kmutt 31 oct'16USAID comet program toolkits learning institute kmutt 31 oct'16
USAID comet program toolkits learning institute kmutt 31 oct'16Wei Chiao Kuo
 
EDUC 660You will develop a framework for a School Counseling.docx
EDUC 660You will develop a framework for a School Counseling.docxEDUC 660You will develop a framework for a School Counseling.docx
EDUC 660You will develop a framework for a School Counseling.docxgidmanmary
 
Art for a better enviroment
Art for a better enviromentArt for a better enviroment
Art for a better enviromentPiLNAfrica
 
Technology action plan
Technology action planTechnology action plan
Technology action planalan2939
 
Iterative research and development of teacher training in learning design
Iterative research and development of teacher training in learning design  Iterative research and development of teacher training in learning design
Iterative research and development of teacher training in learning design Yishay Mor
 
Mdb016 Sequencing Learning Experiences ITS and ICT SAS Queensland Syllabus
Mdb016 Sequencing Learning Experiences ITS and ICT SAS Queensland SyllabusMdb016 Sequencing Learning Experiences ITS and ICT SAS Queensland Syllabus
Mdb016 Sequencing Learning Experiences ITS and ICT SAS Queensland SyllabusMsButow
 
Problem Survey
Problem SurveyProblem Survey
Problem Surveymarzop
 
Problem Survey
Problem SurveyProblem Survey
Problem Surveymarzop
 
Unit 6 presentation
Unit 6 presentationUnit 6 presentation
Unit 6 presentationJon Hilden
 
Increasing Course Revision Efficacy
Increasing Course Revision EfficacyIncreasing Course Revision Efficacy
Increasing Course Revision EfficacySteven McGahan
 
MODULE HANDBOOK BA M4X01434Academic skills.docx
MODULE HANDBOOK BA M4X01434Academic skills.docxMODULE HANDBOOK BA M4X01434Academic skills.docx
MODULE HANDBOOK BA M4X01434Academic skills.docxaudeleypearl
 

Similar to 1. University Example.pdf (20)

Lecture_01.1.pptx
Lecture_01.1.pptxLecture_01.1.pptx
Lecture_01.1.pptx
 
DBMS CIA.pptx
DBMS CIA.pptxDBMS CIA.pptx
DBMS CIA.pptx
 
Solving Course Selection Problem by a Combination of Correlation Analysis and...
Solving Course Selection Problem by a Combination of Correlation Analysis and...Solving Course Selection Problem by a Combination of Correlation Analysis and...
Solving Course Selection Problem by a Combination of Correlation Analysis and...
 
Design For InstructionTeacher will now design the instruction
Design For InstructionTeacher will now design the instruction Design For InstructionTeacher will now design the instruction
Design For InstructionTeacher will now design the instruction
 
505 lesson plan j walker
505 lesson plan j walker505 lesson plan j walker
505 lesson plan j walker
 
Ass_01_2020.pptx
Ass_01_2020.pptxAss_01_2020.pptx
Ass_01_2020.pptx
 
Vermette Uf 300 syllabus hybrid fall 2013
Vermette Uf 300 syllabus hybrid fall 2013Vermette Uf 300 syllabus hybrid fall 2013
Vermette Uf 300 syllabus hybrid fall 2013
 
USAID comet program toolkits learning institute kmutt 31 oct'16
USAID comet program toolkits learning institute kmutt 31 oct'16USAID comet program toolkits learning institute kmutt 31 oct'16
USAID comet program toolkits learning institute kmutt 31 oct'16
 
EC Database System
EC Database SystemEC Database System
EC Database System
 
EDUC 660You will develop a framework for a School Counseling.docx
EDUC 660You will develop a framework for a School Counseling.docxEDUC 660You will develop a framework for a School Counseling.docx
EDUC 660You will develop a framework for a School Counseling.docx
 
Art for a better enviroment
Art for a better enviromentArt for a better enviroment
Art for a better enviroment
 
Course specification
Course specificationCourse specification
Course specification
 
Technology action plan
Technology action planTechnology action plan
Technology action plan
 
Iterative research and development of teacher training in learning design
Iterative research and development of teacher training in learning design  Iterative research and development of teacher training in learning design
Iterative research and development of teacher training in learning design
 
Mdb016 Sequencing Learning Experiences ITS and ICT SAS Queensland Syllabus
Mdb016 Sequencing Learning Experiences ITS and ICT SAS Queensland SyllabusMdb016 Sequencing Learning Experiences ITS and ICT SAS Queensland Syllabus
Mdb016 Sequencing Learning Experiences ITS and ICT SAS Queensland Syllabus
 
Problem Survey
Problem SurveyProblem Survey
Problem Survey
 
Problem Survey
Problem SurveyProblem Survey
Problem Survey
 
Unit 6 presentation
Unit 6 presentationUnit 6 presentation
Unit 6 presentation
 
Increasing Course Revision Efficacy
Increasing Course Revision EfficacyIncreasing Course Revision Efficacy
Increasing Course Revision Efficacy
 
MODULE HANDBOOK BA M4X01434Academic skills.docx
MODULE HANDBOOK BA M4X01434Academic skills.docxMODULE HANDBOOK BA M4X01434Academic skills.docx
MODULE HANDBOOK BA M4X01434Academic skills.docx
 

More from Sunita Milind Dol (20)

9.Joins.pdf
9.Joins.pdf9.Joins.pdf
9.Joins.pdf
 
8.Views.pdf
8.Views.pdf8.Views.pdf
8.Views.pdf
 
7. Nested Subqueries.pdf
7. Nested Subqueries.pdf7. Nested Subqueries.pdf
7. Nested Subqueries.pdf
 
6. Aggregate Functions.pdf
6. Aggregate Functions.pdf6. Aggregate Functions.pdf
6. Aggregate Functions.pdf
 
5. Basic Structure of SQL Queries.pdf
5. Basic Structure of SQL Queries.pdf5. Basic Structure of SQL Queries.pdf
5. Basic Structure of SQL Queries.pdf
 
4. DML.pdf
4. DML.pdf4. DML.pdf
4. DML.pdf
 
3. DDL.pdf
3. DDL.pdf3. DDL.pdf
3. DDL.pdf
 
Assignment12
Assignment12Assignment12
Assignment12
 
Assignment11
Assignment11Assignment11
Assignment11
 
Assignment10
Assignment10Assignment10
Assignment10
 
Assignment9
Assignment9Assignment9
Assignment9
 
Assignment8
Assignment8Assignment8
Assignment8
 
Assignment7
Assignment7Assignment7
Assignment7
 
Assignment6
Assignment6Assignment6
Assignment6
 
Assignment5
Assignment5Assignment5
Assignment5
 
Assignment4
Assignment4Assignment4
Assignment4
 
Assignment3
Assignment3Assignment3
Assignment3
 
Assignment2
Assignment2Assignment2
Assignment2
 
Assignment1
Assignment1Assignment1
Assignment1
 
Handout#12
Handout#12Handout#12
Handout#12
 

Recently uploaded

Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxOH TEIK BIN
 
Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxthorishapillay1
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTiammrhaywood
 
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...M56BOOKSTORE PRODUCT/SERVICE
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdfssuser54595a
 
Meghan Sutherland In Media Res Media Component
Meghan Sutherland In Media Res Media ComponentMeghan Sutherland In Media Res Media Component
Meghan Sutherland In Media Res Media ComponentInMediaRes1
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptxVS Mahajan Coaching Centre
 
Final demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptxFinal demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptxAvyJaneVismanos
 
भारत-रोम व्यापार.pptx, Indo-Roman Trade,
भारत-रोम व्यापार.pptx, Indo-Roman Trade,भारत-रोम व्यापार.pptx, Indo-Roman Trade,
भारत-रोम व्यापार.pptx, Indo-Roman Trade,Virag Sontakke
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxmanuelaromero2013
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationnomboosow
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon AUnboundStockton
 
CELL CYCLE Division Science 8 quarter IV.pptx
CELL CYCLE Division Science 8 quarter IV.pptxCELL CYCLE Division Science 8 quarter IV.pptx
CELL CYCLE Division Science 8 quarter IV.pptxJiesonDelaCerna
 
Roles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceRoles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceSamikshaHamane
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentInMediaRes1
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Celine George
 
Biting mechanism of poisonous snakes.pdf
Biting mechanism of poisonous snakes.pdfBiting mechanism of poisonous snakes.pdf
Biting mechanism of poisonous snakes.pdfadityarao40181
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxGaneshChakor2
 

Recently uploaded (20)

Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptx
 
Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptx
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
 
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
 
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
 
Meghan Sutherland In Media Res Media Component
Meghan Sutherland In Media Res Media ComponentMeghan Sutherland In Media Res Media Component
Meghan Sutherland In Media Res Media Component
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
 
Final demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptxFinal demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptx
 
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdfTataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
 
भारत-रोम व्यापार.pptx, Indo-Roman Trade,
भारत-रोम व्यापार.pptx, Indo-Roman Trade,भारत-रोम व्यापार.pptx, Indo-Roman Trade,
भारत-रोम व्यापार.pptx, Indo-Roman Trade,
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptx
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communication
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon A
 
CELL CYCLE Division Science 8 quarter IV.pptx
CELL CYCLE Division Science 8 quarter IV.pptxCELL CYCLE Division Science 8 quarter IV.pptx
CELL CYCLE Division Science 8 quarter IV.pptx
 
Roles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceRoles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in Pharmacovigilance
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media Component
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
 
Biting mechanism of poisonous snakes.pdf
Biting mechanism of poisonous snakes.pdfBiting mechanism of poisonous snakes.pdf
Biting mechanism of poisonous snakes.pdf
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptx
 

1. University Example.pdf

  • 1. Mrs. Sunita M Dol, CSE Department WIT, Solapur Page 1 1.University Example 2.1 Database Design for University 2.1.1 Data Requirements for the University Database Here are the major characteristics of the university.  The university is organized into departments. Each department is identified by a unique name (dept name), is located in a particular building, and has a budget.  Each department has a list of courses it offers. Each course has associated with it a course id, title, dept name, and credits, and may also have have associated prerequisites.  Instructors are identified by their unique ID. Each instructor has name, associated department (dept name), and salary.  Students are identified by their unique ID. Each student has a name, an associated major department (dept name), and tot_cred (total credit hours the student earned thus far).  The university maintains a list of classrooms, specifying the name of the building, room number, and room capacity.  The university maintains a list of all classes (sections) taught. Each section is identified by a course id, sec id, year, and semester, and has associated with it a semester, year, building, room number, and time slot id (the time slot when the class meets).  The department has a list of teaching assignments specifying, for each instructor, the sections the instructor is teaching.  The university has a list of all student course registrations, specifying, for each student, the courses and the associated sections that the student has taken (registered for). 2.1.2 Entity Sets for the Bank Database The entity sets in design are listed below:  classroom: with attributes (building, room number, capacity).  department: with attributes (dept name, building, budget).  course: with attributes (course id, title, credits).  instructor: with attributes (ID, name, salary).  section: with attributes (course id, sec id, semester, year).  student: with attributes (ID, name, tot cred).  time_slot: with attributes (time slot id, {(day, start time, end time) }).  prereq: with attributes (course_id, prereq_id) 2.1.3 Relationship Sets Designation The relationship sets in design are listed below:  inst_dept: relating instructors with departments.  Stud_dept: relating students with departments.  teaches: relating instructors with sections.  takes: relating students with sections, with a descriptive attribute grade.
  • 2. Mrs. Sunita M Dol, CSE Department WIT, Solapur Page 2  course_dept: relating courses with departments.  sec_course: relating sections with courses.  sec_class: relating sections with classrooms.  sec_time_slot: relating sections with time slots.  advisor: relating students with instructors.  prereq: relating courses with prerequisite courses. 2.1.4 E-R Diagram Figure 1 depicts the full representation of a conceptual model of a university, expressed in terms of E-R concepts. The diagram includes the entity sets, attributes, relationship sets, and mapping cardinalities arrived at through the design processes Figure 1: E-R diagram for a banking enterprise.
  • 3. Mrs. Sunita M Dol, CSE Department WIT, Solapur Page 3 References:  Database system concepts by Abraham Silberschatz, Henry F. Korth, S. Sudarshan (McGraw Hill International Edition) sixth edition.  Database system concepts by Abraham Silberschatz, Henry F. Korth, S. Sudarshan (McGraw Hill International Edition) fifth edition.  http://codex.cs.yale.edu/avi/db-book/db4/slide-dir/  http://codex.cs.yale.edu/avi/db-book/db5/slide-dir/  http://codex.cs.yale.edu/avi/db-book/db6/slide-dir/