Database Design and Modelling | My Assignment Tutor

Master of Information Technology (MIT) DATA6002: Data Management Systems Assignment 3: Database Design and Modelling Due Date: 11.00pm Friday Week 13 Submission: Submit your report including an ERD design in a GROUP via MySCU Weight: 25% of overall unit assessment A. Task Description A.1. Overview In this assignment, your task is to develop and test a relational database based on the ERD created in ASSIGNMENT 2 in MySQL using PhpMyAdmin. You are provided with a scenario and supporting documents, describing the requirements that FIT CLUB Health Centre may have for a database to handle their daily business. You will also need to add sample data and create SQL queries to provide results suitable for reporting. You further need to make relational joins and evidence of correct working via database queries and screenshots of result sets to ensure your prototype works. Finally, you need to submit a report documenting the end product using report template 3B and SQL script of your database. A.2. Scenario The 2022 Commonwealth Games officially known as the XXII Commonwealth Games and commonly known as Birmingham 2022 is an international multi-sport event for members of the Commonwealth that will be held on the Birmingham between 28 July and 8 August 2022. This will be the 22nd Commonwealth Games which is held every four years. Over 5000 athletes and team officials from 72 nations and territories will converge on the Birmingham for the 12-day sporting and cultural event. A new aquatics centre, scheduled to host the swimming and diving events, being built in Smethwick, is set to be completed in spring 2022. The facility will also include a 50m Olympic-sized swimming pool, as well as a 25m diving pool, community swimming pool and permanent seating for 1,000 people. All events will be held in the 50 metre pool and athletes will compete in events for the four strokes – freestyle, breaststroke, backstroke and butterfly. The lengths for the races vary with 50m, 100m, 200m, 400m, 800m and 1500m races being held for freestyle, and at least 50, 100 and 200 metre races for other strokes. Most races have both Mens and Womens Division and there are also the relay team events and the medley which brings out the most versatile swimmers. The Commonwealth Games Federation (CGF) provides a report outlining the requirements for swimmers to qualify to complete in the games. This includes the qualifying times which the swimmers must have equalled or bettered in an official competition event within the 12 months leading up to the games. Qualifying Swim Teams For a country to qualify and be included in the swimming events, there is no minimum number of team members, however each swimmer must qualify for their selected event(s). Each country’s team must have a team manager, team leader (typically the strongest swimmer) and at least one coach and one medical officer. To apply for inclusion in the games, prospective countries must provide the Federation with the country’s swimming team details for consideration. All team members, including swimmers, coaches and medical officers, need to provide personal contact information. Swimmer Details The swimmers must provide their contact information, gender, date of birth and the name of their coach. For each race event they wish to compete in, they must provide the details of their qualifying time, the date and approved swimming competition where the time was recorded. The qualifying time must have been recorded in 2021. Other team members: All other team members must provide their contact information. Each coach also needs to provide details about whether they have qualifications and training as a coach. Coaches are required to have a police check for working with children (“WWC Check”). In addition, coaches are certified by the Federation, and must have the date of certification and level of certification (1 to 5) recorded by the Federation. Medical officers also need to provide details of their qualifications, including the year of their degree or latest qualification and any specialisations. Preliminary Heats and Final Race Several preliminary heats/races will be held to determine who will compete in the final race for each event. The result times for each swimmer completing in each of these races must be recorded. For each event, the final winner of the Gold, Silver and Bronze medals will be recorded. Your task Birmingham 2022 requires a database to store the data associated with all swimming teams, team members as well as the preliminary heats and final races held at the games. The system of spreadsheets and paper forms that Birmingham 2022 is currently using has many data inconsistencies that detract from their belief in the accuracy of the data and information provided. While keeping requirements for a new system closely aligned to the current manual system used by Birmingham 2022, your task is to develop a prototype database, and test it with queries which are likely to be used by Birmingham 2022. You are not required to write an application to use with this database. The file DATA6002_Assignment2_SampleFormsWithData.docx, provided with this assignment, provides you with some sample forms and information. The file DATA6002_ Assignment2_exampleData.xlsx will provide you with further details and some specific examples of the current manual system data to get you started. Note that this data is provided “as is” and is not transferable directly to tables in the new database. The entities and attributes mentioned in the scenario and on the sample forms must be included. You will be required to normalise some of the above into smaller relations/tables prior to implementing your design into a database. You may add more attributes to help improve the design and efficiency of the database. B. Assessment Requirements B.1 Database Development and Relationships 4 MARKS Build your database in MySQL using PhpMyAdmin. Your database should be created on the Infotech server and be named with your username followed by A3 (e.g., aalaeiA3). Referential integrity and any other constraints must be created, as required by your design. B.2 Data Type and Naming 4 MARKS Create a MySQL database using phpMyAdmin. You must name this database as your username followed by A3. For example: falaei10A3. Choice and consistency of table and attribute naming conventions used, selection of data types, primary and foreign keys. B.3 Test/Sample Data 2.5 MARKS You must provide enough valid data in your database to run the SQL queries below successfully with at least 5-10 rows in the result set. B.4 Privileges 2 MARKS Provide access to your database for the user eyuwono or another student user account of your choice. Details of how to do this can be seen in the provided screencast. B.5 Use of Views 1.5 MARKS The database should be capable of producing the query results below. To get the required results, you may need to build underlying queries or views. Create at least four views and where appropriate, these views should incorporate the use of standard practices, informative column headings that fit the expected use of the view. B.6 Export Script 1.5 MARKS Once your database is finalised, you must create an export script (.sql) to create a backup of your database, including all database structures, table definitions and data. Name this SQL script as yourusernameA3.sql e.g. aalaeiA3.sql. B.7 Proof of Testing 1.5 MARKS The results of your queries should be presented in a Word document using the provided report template with a title page, page numbers etc. The query that you create for each of the parts below should be pasted into your report (not screenshots), followed by a screenshot of your results. Snipping Tool on Windows is useful for taking screenshots of query results. B.8 SQL Queries Note: your result sets should not display any ‘extra’ columns – such as surrogate keys. Use surrogate keys in your progressive testing by all means, but your finished test results should not include surrogate keys unless specified in the question. Team Member list 0.5 markCreate a team list for one of the countries. Results should be sorted by last name of the team member, and should include all contact details and team member type (e.g. Swimmer, Coach, Medical Officer or other contact type). Country swimmer count 0.5 markCreate a query that counts the number of swimmers for each country. Results should have the country name, main contact name, the number of swimmers, and be sorted by the country name. Non-qualifying Swimmers 0.5 markThe Federation would like to identify swimmers that have not qualified for the events they have registered in. Create a query that selects these swimmers only, showing the country, swimmer name, email address, contact number along with the Event Name, minimum qualifying time, the swimmer’s qualifying time and the difference between the times. Medical Officer information 0.5 marksCreate a query that displays a list of medical officers, with the name, email and phone number, country and any specialisations, sorted by specialisation then last name. Race information 1 marksCreate a query that displays the list of races scheduled for one particular event. Races should be sorted by heat number, and display the event name, race name, starting time and location. Event Winner list 1.5 marksCreate a query to display the list of winners for each event, showing event name, swimmer name and recorded times for the Gold, Silver and Bronze winners, sorted by event name and by winning place. Individual swimmer race results 1.5 markCreate a query that displays a list of events for which Rebekah Riley (or use another name from your swimmer data) was registered and the races that they swam in. Results should be sorted by event name, race name, date and time and provide all recorded swim times, places and whether they won any medals. Medal Tally 2 markCreate a query that displays each country with three calculated columns showing total number of swimmers and how many Gold, Silver and Bronze medals were won. Sort by number of Gold medals won. C. Other Notes C.1 Software You are required to use phpMyAdmin on the Infotech server to create your MySQL database. C.2 Marking Criteria Marking Criteria will be made available via a rubric on the MySCU website. C.3 Submission Format You will be required to submit your assignment materials both on the InfoTech server, and via the MySCU unit website. Your assignment submission should be in the form of a Word document and a SQL script text file. Your Word document should be named as your username_A1.doc or username_A1.docx, (e.g., falaei10_A3.docx). Your SQL script should be named as your username_A3.sql (e.g., aalaei10_A3.sql). C.4 Original work This assignment must be completed individually and must be your own original work. This assignment must be your own original work. Assignments form a major part of course work. Exchange of ideas with other people can be considered educationally valuable; however, excessive collaboration will be regarded as plagiarism, which is a University offence. For example, the copying of significant parts of a document (or database), even if subsequently modified, is plagiarism. Such academic dishonesty will be penalised in accordance with the University’s rules and regulations. You must not copy material from books, magazines, internet sources or other students’ assignments. Of course, you may include direct quotes from any source, but these must be small (e.g. one sentence or one paragraph) and must be properly referenced, using the Harvard Referencing Style. The value and relevance of including materials from another source must be fully explained. If plagiarism is found in your assignment, you may receive zero marks for this assignment. The assessment process may require some students to attend an interview in order to explain aspects of their assignment. C.5 Retain duplicate copy You are strongly advised to retain a copy of original work, and progressive versions of your work during the Session. In the event of any uncertainty regarding the submission of assessment items, you may be requested to reproduce a final copy and/or any previous versions of your work. C.6 Penalty for late submission A penalty of 5% per calendar day will be applied to all late assignments. An extension of time will only be considered (not necessarily approved) when a written request is submitted with appropriate supporting documentation and in accordance with University guidelines. C.7 Marks and Feedback Marks and feedback comments will be returned through your MySCU site for this unit.


Leave a Reply

Your email address will not be published. Required fields are marked *