SlideShare a Scribd company logo
1 of 6
Download to read offline
1
NIT1201 Introduction to Database
System Assignment by USA Experts
Assignment Specification (30%)
Group work only- Group of four
Due date: week 11, trimester 2 2019
Submission via drop box on VU Collaborate only, no email submission will be accepted.
Introduction
The objective of this assignment is for you to put into practice the many different skills that you are
learning in this unit into a single cohesive database project.
You will be designing a database to meet a specific organizational need. To do this you will
work through the various stages of database design, including identifying user requirements,
developing an understanding of the entities required and the relationships between them, as well as
identifying the business rules associated with the processes that are driving the need for the
database. You will then develop appropriate data models and design and implement the database.
You will demonstrate that your database implementation is viable through a series of queries and
updates on the database.
Scenario
VU University (VU)organizes table tennis match at university wide for both staff and students.
This is an annual activity that has a history of 11 years. You are asked to design a small
database for the organizer to record data for better management service in the future.
Every year, there are 20 teams participating in this table tennis match. The team can be
formed by staff and students together. For each team, there is at least one staff to be the
leader of the team, who will communicate with organizer and leaders from the other teams. A
team needs 4 to 8 members, including the leader. A form was used to collect the member
information of each team. The leader needs to submit this form to organizer two weeks before
the first game. In the form, all members’ name, contact email address, role (leader,
primary player, or substitute), staff/student ID are provided. One staff or student can only
play for one team. Each team has a name for itself, which is also provided in the form.
2
3
The match lasts four weeks for four rounds. Games are all played at weekends. Four teams
will be put in one group. Each team needs to play with all other three teams in its group. Each
group has two top teams to enter the next round. In the second round, 10 teams will be put into
two groups. Each team plays with other four teams, and the top two teams will enter into the
semi-final games. Four teams in the semi-final games, and each team plays with other three
teams, the top two teams will enter into the final game.
Each game has three sections. In each section, the team who firstly achieve 11 points wins.
Out of three sections, the team who firstly wins two section wins the game. Both single and
pair games are played. Each team only allow four members to play the single games. That is
four single games will be played between two teams. For pair games, there are also four
players allowed. Then two pair games will be played between two teams. Therefore, totally six
games will be played between two teams. All the section scores need to be recorded together
with team names, players and date of the game. Please be noticed that not all games play
three sections. If one team wins the first two sections, then the game is over. By end of the
match, all teams are ranked based on their total points achieved. This ranking list is recorded
with the ranking numbers and team names in ascending order.
The tournament has 15 referees; a referee is assigned to a single match at the first round. The
organizers keep
records for referee performance for each match (you can measure performance on a scale
from 1 to 10). For the second round, four referees with highest score will be selected. For the
semi-final, two referees will be chosen, and for the final the referee with highest score will be
assigned.
Your task
You have been commissioned to develop a database system that is capable of keeping records for
FU’s
table tennis matches from now on.
The database needs to keep a record of:
• All team information, including players’ information
• All games, sections, the players involved and the scores
• The winner team of each game
• The teams play in each round
• The match winner team
• The ranking of the teams of each year’s match
• The referee assigned for each game and their performance score
Further, it should be possible to generate a report on:
• Game scores after each round, including section scores
• The total number of games that each team played in a match
• The total scores of each team after a match
• The ranking list of teams after a match
• The winner list of all recorded matches
4
• Referees ranking, referee with best performance at all matches
Steps you need to take to develop your database application
1. Complete the analysis and design of your database application
a. List the business rules for your system.
b. Identify the entities and relationships in your system.
5
c. Identify the characteristics of the entities in your system.
d. Develop an ER diagram to model your system.
e. Develop table structures from the ER model.
f. Conduct a dependency analysis of the table structures and normalize your tables where
appropriate, to at least 3NF.
g. Create a data dictionary for your database.
2. Implement your project
a. Create a database that hosts your application data
b. Create tables in your database. These must be consistent with your design.
c. Populate all tables with sample data (at least 10 entries in each)
d. Create the required views, stored procedures etc. to meet the requirements of
your system
3. to write SQL commands
1. SQL codes are provided for database and table creation
2. SQL codes are provided for data record insertion
Reports by SQL:
3. to show the winner of each game in each round
4. to sort all teams according to their scores (ascending)
5. to provide a report for a referee with all the games he served
6. to provide a list of the loser teams
7. to provide a list of all players in all teams
8. Game scores after each round, including section scores
9. The total number of games that each team played in a match
10. The total scores of each team after a match
11. The winner list of all recorded matches
12. Referees ranking, referee with best performance at all matches
You need to be able to demonstrate that your database application meets the requirements detailed
in the scenario as well as be consistent with the model you have developed.
Submission Requirements
Your assignment should be composed of the following parts:
1. Project document which includes the following:
1.1. A list of the business rules;
1.2. ER Diagram(s) prepared using software such as MS Office Visio or any other ER diagram
tool. These should include all necessary information about the entities, attributes
and relationships. Please provide clear and easy-to-read screenshot of your ER Diagram(s).
If you draw your diagram(s) in MS Visio, please submit the Visio file too;
1.3. Data dictionary in the format shown in the lecture notes;
1.4. Database design and table structures showing table names, as well as any related entity
integrity and referential integrity constraints. Include in the table structures attribute data
types, sizes, primary keys, foreign keys and any other relevant information;
6
1.5. Diagrams showing the dependency analysis for each of the tables. You need to
demonstrate that all tables are in 3NF. Show the process of normalization including tables
in 1NF, 2NF and 3NF respectively. Please refer to the examples in lecture notes;
1.6. The SQL code you used to:
1.6.1. Create and populate the database;
1.6.2. Create each of the reports identified in the assignment specification.
2. Database implementation in XAMPP
2.1. All the tables of your assignment must be implemented in XAMPP. Please provide
screenshots as evidence of your implementation.
2.2. All the tables must be well defined with appropriate primary keys and foreign keys where
applicable. Please provide screenshot of table structures.
2.3. All tables must be populated with sample data (at least 10 entity instances – rows – in
each table). Please provide screenshots of table data records.
End of Assignment

More Related Content

Similar to NIT1201 Introduction to Database System Assignment by USA Experts

InstructionsCongratulations. You are a finalist in for a data a.docx
InstructionsCongratulations. You are a finalist in for a data a.docxInstructionsCongratulations. You are a finalist in for a data a.docx
InstructionsCongratulations. You are a finalist in for a data a.docxnormanibarber20063
 
Cricket Score and Winning Prediction
Cricket Score and Winning PredictionCricket Score and Winning Prediction
Cricket Score and Winning PredictionIRJET Journal
 
Tennis ComStat Presentation 2017
Tennis ComStat Presentation 2017Tennis ComStat Presentation 2017
Tennis ComStat Presentation 2017Tennis ComStat
 
Project ppt.pptx
Project ppt.pptxProject ppt.pptx
Project ppt.pptxSnehaDR2
 
Federated Ontology for Sports- Paper
Federated Ontology for Sports- PaperFederated Ontology for Sports- Paper
Federated Ontology for Sports- PaperGeorge Sam
 
DBAS32100 group project TemplateWalid BelalMarch 2020Introduct.docx
DBAS32100 group project TemplateWalid BelalMarch 2020Introduct.docxDBAS32100 group project TemplateWalid BelalMarch 2020Introduct.docx
DBAS32100 group project TemplateWalid BelalMarch 2020Introduct.docxrandyburney60861
 
Nunes database
Nunes databaseNunes database
Nunes databaseRohini17
 
As Applied ICT term 3 Ex 10
As Applied ICT term 3 Ex 10As Applied ICT term 3 Ex 10
As Applied ICT term 3 Ex 10Jordan_0009
 
BISY2003 Object Oriented Programming.docx
BISY2003 Object Oriented Programming.docxBISY2003 Object Oriented Programming.docx
BISY2003 Object Oriented Programming.docxstudywriters
 
m503 Project1 FINAL DRAFT
m503 Project1 FINAL DRAFTm503 Project1 FINAL DRAFT
m503 Project1 FINAL DRAFTBrian Becker
 
Fina Assessment Project The objective of this project is for stude.docx
Fina Assessment Project The objective of this project is for stude.docxFina Assessment Project The objective of this project is for stude.docx
Fina Assessment Project The objective of this project is for stude.docxcharlottej5
 

Similar to NIT1201 Introduction to Database System Assignment by USA Experts (20)

InstructionsCongratulations. You are a finalist in for a data a.docx
InstructionsCongratulations. You are a finalist in for a data a.docxInstructionsCongratulations. You are a finalist in for a data a.docx
InstructionsCongratulations. You are a finalist in for a data a.docx
 
Travel League Scheduling Slideshow
Travel League Scheduling SlideshowTravel League Scheduling Slideshow
Travel League Scheduling Slideshow
 
Cricket Score and Winning Prediction
Cricket Score and Winning PredictionCricket Score and Winning Prediction
Cricket Score and Winning Prediction
 
Tennis ComStat Presentation 2017
Tennis ComStat Presentation 2017Tennis ComStat Presentation 2017
Tennis ComStat Presentation 2017
 
I2 madankarky1 jharibabu
I2 madankarky1 jharibabuI2 madankarky1 jharibabu
I2 madankarky1 jharibabu
 
Project ppt.pptx
Project ppt.pptxProject ppt.pptx
Project ppt.pptx
 
MS OFFICE &POWERPOINT
MS OFFICE &POWERPOINTMS OFFICE &POWERPOINT
MS OFFICE &POWERPOINT
 
SSD Major Portfolio
SSD Major PortfolioSSD Major Portfolio
SSD Major Portfolio
 
Federated Ontology for Sports- Paper
Federated Ontology for Sports- PaperFederated Ontology for Sports- Paper
Federated Ontology for Sports- Paper
 
Cs229 final report
Cs229 final reportCs229 final report
Cs229 final report
 
Teknik-Tekniknya
Teknik-TekniknyaTeknik-Tekniknya
Teknik-Tekniknya
 
DBAS32100 group project TemplateWalid BelalMarch 2020Introduct.docx
DBAS32100 group project TemplateWalid BelalMarch 2020Introduct.docxDBAS32100 group project TemplateWalid BelalMarch 2020Introduct.docx
DBAS32100 group project TemplateWalid BelalMarch 2020Introduct.docx
 
Nunes database
Nunes databaseNunes database
Nunes database
 
As Applied ICT term 3 Ex 10
As Applied ICT term 3 Ex 10As Applied ICT term 3 Ex 10
As Applied ICT term 3 Ex 10
 
BISY2003 Object Oriented Programming.docx
BISY2003 Object Oriented Programming.docxBISY2003 Object Oriented Programming.docx
BISY2003 Object Oriented Programming.docx
 
Rec League Scheduling Slideshow
Rec League Scheduling SlideshowRec League Scheduling Slideshow
Rec League Scheduling Slideshow
 
m503 Project1 FINAL DRAFT
m503 Project1 FINAL DRAFTm503 Project1 FINAL DRAFT
m503 Project1 FINAL DRAFT
 
Showcase 2
Showcase 2Showcase 2
Showcase 2
 
Fina Assessment Project The objective of this project is for stude.docx
Fina Assessment Project The objective of this project is for stude.docxFina Assessment Project The objective of this project is for stude.docx
Fina Assessment Project The objective of this project is for stude.docx
 
Project 2
Project 2Project 2
Project 2
 

More from Johnsmith5188

Corporate law-law2001
Corporate law-law2001Corporate law-law2001
Corporate law-law2001Johnsmith5188
 
Information for-prioritising-brand-decisions
Information for-prioritising-brand-decisionsInformation for-prioritising-brand-decisions
Information for-prioritising-brand-decisionsJohnsmith5188
 
Network topology by essay corp uk
Network topology by essay corp ukNetwork topology by essay corp uk
Network topology by essay corp ukJohnsmith5188
 
Finance Assignment Help by EssayCorp Experts in Australia
Finance Assignment Help  by EssayCorp Experts in AustraliaFinance Assignment Help  by EssayCorp Experts in Australia
Finance Assignment Help by EssayCorp Experts in AustraliaJohnsmith5188
 
Responsibility of the Nurse
Responsibility of the NurseResponsibility of the Nurse
Responsibility of the NurseJohnsmith5188
 
Financial modeling & coding
Financial modeling  & coding Financial modeling  & coding
Financial modeling & coding Johnsmith5188
 
COSC2536/2537 Security in Computing and Information Technology Assignments
COSC2536/2537 Security in Computing and Information Technology AssignmentsCOSC2536/2537 Security in Computing and Information Technology Assignments
COSC2536/2537 Security in Computing and Information Technology AssignmentsJohnsmith5188
 
MATH2088/2988 Number Theory and Cryptography Assignments
MATH2088/2988 Number Theory and Cryptography AssignmentsMATH2088/2988 Number Theory and Cryptography Assignments
MATH2088/2988 Number Theory and Cryptography AssignmentsJohnsmith5188
 

More from Johnsmith5188 (9)

Corporate law-law2001
Corporate law-law2001Corporate law-law2001
Corporate law-law2001
 
Information for-prioritising-brand-decisions
Information for-prioritising-brand-decisionsInformation for-prioritising-brand-decisions
Information for-prioritising-brand-decisions
 
Article analysis
Article analysisArticle analysis
Article analysis
 
Network topology by essay corp uk
Network topology by essay corp ukNetwork topology by essay corp uk
Network topology by essay corp uk
 
Finance Assignment Help by EssayCorp Experts in Australia
Finance Assignment Help  by EssayCorp Experts in AustraliaFinance Assignment Help  by EssayCorp Experts in Australia
Finance Assignment Help by EssayCorp Experts in Australia
 
Responsibility of the Nurse
Responsibility of the NurseResponsibility of the Nurse
Responsibility of the Nurse
 
Financial modeling & coding
Financial modeling  & coding Financial modeling  & coding
Financial modeling & coding
 
COSC2536/2537 Security in Computing and Information Technology Assignments
COSC2536/2537 Security in Computing and Information Technology AssignmentsCOSC2536/2537 Security in Computing and Information Technology Assignments
COSC2536/2537 Security in Computing and Information Technology Assignments
 
MATH2088/2988 Number Theory and Cryptography Assignments
MATH2088/2988 Number Theory and Cryptography AssignmentsMATH2088/2988 Number Theory and Cryptography Assignments
MATH2088/2988 Number Theory and Cryptography Assignments
 

Recently uploaded

Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdfFraming an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdfUjwalaBharambe
 
Gas measurement O2,Co2,& ph) 04/2024.pptx
Gas measurement O2,Co2,& ph) 04/2024.pptxGas measurement O2,Co2,& ph) 04/2024.pptx
Gas measurement O2,Co2,& ph) 04/2024.pptxDr.Ibrahim Hassaan
 
Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...Jisc
 
Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Celine George
 
AmericanHighSchoolsprezentacijaoskolama.
AmericanHighSchoolsprezentacijaoskolama.AmericanHighSchoolsprezentacijaoskolama.
AmericanHighSchoolsprezentacijaoskolama.arsicmarija21
 
Blooming Together_ Growing a Community Garden Worksheet.docx
Blooming Together_ Growing a Community Garden Worksheet.docxBlooming Together_ Growing a Community Garden Worksheet.docx
Blooming Together_ Growing a Community Garden Worksheet.docxUnboundStockton
 
Pharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdfPharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdfMahmoud M. Sallam
 
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
 
Capitol Tech U Doctoral Presentation - April 2024.pptx
Capitol Tech U Doctoral Presentation - April 2024.pptxCapitol Tech U Doctoral Presentation - April 2024.pptx
Capitol Tech U Doctoral Presentation - April 2024.pptxCapitolTechU
 
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
 
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
 
Full Stack Web Development Course for Beginners
Full Stack Web Development Course  for BeginnersFull Stack Web Development Course  for Beginners
Full Stack Web Development Course for BeginnersSabitha Banu
 
Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxthorishapillay1
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxNirmalaLoungPoorunde1
 
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
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatYousafMalik24
 
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
 
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
 

Recently uploaded (20)

Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdfFraming an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
 
Gas measurement O2,Co2,& ph) 04/2024.pptx
Gas measurement O2,Co2,& ph) 04/2024.pptxGas measurement O2,Co2,& ph) 04/2024.pptx
Gas measurement O2,Co2,& ph) 04/2024.pptx
 
Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...
 
Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17
 
AmericanHighSchoolsprezentacijaoskolama.
AmericanHighSchoolsprezentacijaoskolama.AmericanHighSchoolsprezentacijaoskolama.
AmericanHighSchoolsprezentacijaoskolama.
 
Blooming Together_ Growing a Community Garden Worksheet.docx
Blooming Together_ Growing a Community Garden Worksheet.docxBlooming Together_ Growing a Community Garden Worksheet.docx
Blooming Together_ Growing a Community Garden Worksheet.docx
 
Pharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdfPharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdf
 
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
 
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
 
Capitol Tech U Doctoral Presentation - April 2024.pptx
Capitol Tech U Doctoral Presentation - April 2024.pptxCapitol Tech U Doctoral Presentation - April 2024.pptx
Capitol Tech U Doctoral Presentation - April 2024.pptx
 
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
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptx
 
Full Stack Web Development Course for Beginners
Full Stack Web Development Course  for BeginnersFull Stack Web Development Course  for Beginners
Full Stack Web Development Course for Beginners
 
Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptx
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.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
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice great
 
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
 
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
 
ESSENTIAL of (CS/IT/IS) class 06 (database)
ESSENTIAL of (CS/IT/IS) class 06 (database)ESSENTIAL of (CS/IT/IS) class 06 (database)
ESSENTIAL of (CS/IT/IS) class 06 (database)
 

NIT1201 Introduction to Database System Assignment by USA Experts

  • 1. 1 NIT1201 Introduction to Database System Assignment by USA Experts Assignment Specification (30%) Group work only- Group of four Due date: week 11, trimester 2 2019 Submission via drop box on VU Collaborate only, no email submission will be accepted. Introduction The objective of this assignment is for you to put into practice the many different skills that you are learning in this unit into a single cohesive database project. You will be designing a database to meet a specific organizational need. To do this you will work through the various stages of database design, including identifying user requirements, developing an understanding of the entities required and the relationships between them, as well as identifying the business rules associated with the processes that are driving the need for the database. You will then develop appropriate data models and design and implement the database. You will demonstrate that your database implementation is viable through a series of queries and updates on the database. Scenario VU University (VU)organizes table tennis match at university wide for both staff and students. This is an annual activity that has a history of 11 years. You are asked to design a small database for the organizer to record data for better management service in the future. Every year, there are 20 teams participating in this table tennis match. The team can be formed by staff and students together. For each team, there is at least one staff to be the leader of the team, who will communicate with organizer and leaders from the other teams. A team needs 4 to 8 members, including the leader. A form was used to collect the member information of each team. The leader needs to submit this form to organizer two weeks before the first game. In the form, all members’ name, contact email address, role (leader, primary player, or substitute), staff/student ID are provided. One staff or student can only play for one team. Each team has a name for itself, which is also provided in the form.
  • 2. 2
  • 3. 3 The match lasts four weeks for four rounds. Games are all played at weekends. Four teams will be put in one group. Each team needs to play with all other three teams in its group. Each group has two top teams to enter the next round. In the second round, 10 teams will be put into two groups. Each team plays with other four teams, and the top two teams will enter into the semi-final games. Four teams in the semi-final games, and each team plays with other three teams, the top two teams will enter into the final game. Each game has three sections. In each section, the team who firstly achieve 11 points wins. Out of three sections, the team who firstly wins two section wins the game. Both single and pair games are played. Each team only allow four members to play the single games. That is four single games will be played between two teams. For pair games, there are also four players allowed. Then two pair games will be played between two teams. Therefore, totally six games will be played between two teams. All the section scores need to be recorded together with team names, players and date of the game. Please be noticed that not all games play three sections. If one team wins the first two sections, then the game is over. By end of the match, all teams are ranked based on their total points achieved. This ranking list is recorded with the ranking numbers and team names in ascending order. The tournament has 15 referees; a referee is assigned to a single match at the first round. The organizers keep records for referee performance for each match (you can measure performance on a scale from 1 to 10). For the second round, four referees with highest score will be selected. For the semi-final, two referees will be chosen, and for the final the referee with highest score will be assigned. Your task You have been commissioned to develop a database system that is capable of keeping records for FU’s table tennis matches from now on. The database needs to keep a record of: • All team information, including players’ information • All games, sections, the players involved and the scores • The winner team of each game • The teams play in each round • The match winner team • The ranking of the teams of each year’s match • The referee assigned for each game and their performance score Further, it should be possible to generate a report on: • Game scores after each round, including section scores • The total number of games that each team played in a match • The total scores of each team after a match • The ranking list of teams after a match • The winner list of all recorded matches
  • 4. 4 • Referees ranking, referee with best performance at all matches Steps you need to take to develop your database application 1. Complete the analysis and design of your database application a. List the business rules for your system. b. Identify the entities and relationships in your system.
  • 5. 5 c. Identify the characteristics of the entities in your system. d. Develop an ER diagram to model your system. e. Develop table structures from the ER model. f. Conduct a dependency analysis of the table structures and normalize your tables where appropriate, to at least 3NF. g. Create a data dictionary for your database. 2. Implement your project a. Create a database that hosts your application data b. Create tables in your database. These must be consistent with your design. c. Populate all tables with sample data (at least 10 entries in each) d. Create the required views, stored procedures etc. to meet the requirements of your system 3. to write SQL commands 1. SQL codes are provided for database and table creation 2. SQL codes are provided for data record insertion Reports by SQL: 3. to show the winner of each game in each round 4. to sort all teams according to their scores (ascending) 5. to provide a report for a referee with all the games he served 6. to provide a list of the loser teams 7. to provide a list of all players in all teams 8. Game scores after each round, including section scores 9. The total number of games that each team played in a match 10. The total scores of each team after a match 11. The winner list of all recorded matches 12. Referees ranking, referee with best performance at all matches You need to be able to demonstrate that your database application meets the requirements detailed in the scenario as well as be consistent with the model you have developed. Submission Requirements Your assignment should be composed of the following parts: 1. Project document which includes the following: 1.1. A list of the business rules; 1.2. ER Diagram(s) prepared using software such as MS Office Visio or any other ER diagram tool. These should include all necessary information about the entities, attributes and relationships. Please provide clear and easy-to-read screenshot of your ER Diagram(s). If you draw your diagram(s) in MS Visio, please submit the Visio file too; 1.3. Data dictionary in the format shown in the lecture notes; 1.4. Database design and table structures showing table names, as well as any related entity integrity and referential integrity constraints. Include in the table structures attribute data types, sizes, primary keys, foreign keys and any other relevant information;
  • 6. 6 1.5. Diagrams showing the dependency analysis for each of the tables. You need to demonstrate that all tables are in 3NF. Show the process of normalization including tables in 1NF, 2NF and 3NF respectively. Please refer to the examples in lecture notes; 1.6. The SQL code you used to: 1.6.1. Create and populate the database; 1.6.2. Create each of the reports identified in the assignment specification. 2. Database implementation in XAMPP 2.1. All the tables of your assignment must be implemented in XAMPP. Please provide screenshots as evidence of your implementation. 2.2. All the tables must be well defined with appropriate primary keys and foreign keys where applicable. Please provide screenshot of table structures. 2.3. All tables must be populated with sample data (at least 10 entity instances – rows – in each table). Please provide screenshots of table data records. End of Assignment