Describe relational algebra and its relationship

Assignment Help Database Management System
Reference no: EM131765833 , Length: 4 page

Assignment

Overview
You are to create an ER diagram, and a relational schema for a small business. You need to provide adiscussion of normalisation including the normal form that each entity is in, a list of relationships with all table names, primary and foreign keys, and attributes indicating their type and purpose.

Learning Outcomes Assessed

The following course learning outcomes are assessed by completing this assessment:
- K4. design a relational database for a provided scenario utilising tools and techniques including ER diagrams, relation models and normalisation
- K5.describe relational algebra and its relationship to Structured Query Language (SQL);
- A1.design and implement a relational database using a database management system;

Project Specification

You have been commissioned to create a database for TopFit, acompany that runs a gym in Albury. TopFit offers a variety of fitness, strength and conditioning courses for members at various times. The gym provides top quality teachers and excellent equipment for the training of members.

All of TopFit's coursesconsist of several classes, taught by TopFit staff. Each coursehas a number of classes with a maximum number of participants and some courses have prerequisites (for example, to enrol in "Advanced Cardio-fit", members have to have successfully completed "Introductory Cardio-fit"). Anyone can sign up as a member and enrol in one or more courses at TopFit. Members can pay by different methods, either by monthly membership, or per day (they can attend as many classes as they wish on any given day).

The following business rules and information gathered about the current business activities will allow you to derive entities. Your submission is not expected to have many to many relationships left unresolved. You may add entities or attributes as you see fit. Assumptions can be made toinclude further entities and their relationships, but referential integrity and normalisation processes must be adhered to. Reasons should be given for any relation that is not maintained in 3NF.

- TopFit employs many staff members, keeping track of their unique ID, name, phone number, address and email, as well as tax number, job title and weekly rate of pay.
- Course types run by TopFit have a name, number of classes, a course description and a maximum student number. Some course types have another course type as prerequisite.
- Coursesrun by TopFit from time to time belong to a course type, are assigned to a supervising staff member and have a starting and end date. They also allow staff to records notes about the course.
- Members are recorded by name, address, email, phone number, date of birth and notes about special requirements (dietary or health problems). An emergency contact name and number are also recorded. Additionally, the date of joining up is recorded, and if the member has left, the date of leaving as well. Current members have a joining date but no leaving date.
- If the member makes regular monthly payments, the following details need to be stored: bank name, account type (savings, cheque or credit), account number and account name.
- Members can enrol in one or more of TopFit gym courses, and they can attend as many classes as they wish on any day.
- Members have 3 different methods of paying. All payments recorded by staff include a date paid, amount paid and the member's ID.

Additionally:
o If the payment method is "Automatic Monthly", then success or failure of the direct debit is recorded (if the payment failed, staff will contact the member).
o If the payment method is "Single Day", the payment method is recorded.
o If the payment method is "Multiple Pass", then the number of days on the pass is recorded (this can be 10, 20 or 50), as well as the payment method.

- TopFit tracks every class, recording the id of the staff member who taught the class (this can be any staff member, not just the supervisor for the course), the date and time, the id of the course it belongs to, the roomused and any notes the teacher wishes to record.

- The participation of each member in each class is recorded.

- Members can earn awards for successful completion of courses or for other achievements. TopFit has many award types (for example: "Monthly Hero", "Most improved Beginner" and "Successful completion of Level 3 Strength Training"). For each award type, the gym has an id, name and description of competencies.

- TopFit also maintain a register of all awards earned by members, showing the date awarded, member, award type and special notes. If the award is for a completed course, then the course id is recorded as well, so that a certificate can be issued to the member.

Submission
Your submission should include:
- An ER Diagram with all entity names, attribute names, primary and foreign keys, relationships, cardinality and participation indicated. All many to many relationships should be resolved.
- A discussion of normalisation including the normal form that each entity is in and why that is optimal. Also a discussion of how normalisation was achieved for that entity.
- A list of relationships with all table names, attributes, primary and foreign keys indicated as per the conventions given in the lecture slides (ie entity/table names in capitals, attributes as proper nouns, primary key underlined and foreign keys in italics.)
- A database schema indicating the type and purpose of all attributes.

Reference no: EM131765833

Questions Cloud

Discuss an issue related to ethics in psychology : Choose an issue related to ethics in psychology. Topics that involve some issue of ethical controversy or dilemma are especially encouraged.
How many revolutions does it make in this time period : An engine takes 5 seconds to go from its idling speed of 600 rev/min to 1200 rev/min. (a) What is it's angular acceleration?
Determine the direct materials quantity variance : Determine the direct materials quantity variance for batch K-54. If required, round amounts to the nearest cent. Enter a favorable variance as a negative.
Maintenance planning and scheduling-reliability engineering : Write a summary either on Maintenance Planning and Scheduling, Reliability Engineering or Maintenance Cost.
Describe relational algebra and its relationship : ITECH 1006 - Database Management Systems - describe relational algebra and its relationship to Structured Query Language and design and implement
How far does a point on the edge of the record travel : A vinyl record 30cm in diameter turns through an angle of 200 degrees. How far does a point on the edge of the record travel?
Piston on the gas to compress the gas : What is the magnitude (absolute value) of the work done by the gas during this process?
By what amount would martin net income increase : If expenses, other than cost of merchandise sold, related to the 2010 installment sales amounted to $120,000, by what amount would Martin's net income increase
How performance management can save employees from failure : How performance management can save employees from failure. Identify some real organizational practices. Each student has to put efforts in report preparation.

Reviews

len1765833

12/14/2017 5:17:11 AM

3. Normalization • All entities and relationship in appropriate normal form 10 • Discussion of normalisation for all entities and relationships 5 • Appropriate interpretation of each normal form, arguments for leaving the schema in the normal form you consider optimal. 5 20 4. Conversion of E-R diagram to relational schema • Correct standards, conventions and notation used 2 • Primary keys used 2 • Foreign keys correctly identified including parent entity 6 • Schema is a correct translation of the E-R diagram submitted with appropriate tables, columns, primary keys, and foreign keys. 6 • Types and restrictions on attributes given 4 20 Total 100

len1765833

12/14/2017 5:17:07 AM

Marking Criteria/Rubric Assessment Criteria and Marking Overview Tasks Marks 1. Presentation • Cover page indicating student name and number and tutor name. 2 • Page numbers included in report 2 • Index giving page numbers of various sections 2 • Overall presentation of the report 2 • Full APA referencing of all materials used and full disclosure of assistance from all sources including tutors and other students. 2 10 2. E-R diagram • Completeness of diagram 12 • Correct notation and convention used 8 • All assumptions clearly noted 8 • Primary and foreign keys 10 • Resolution of many to many relationships 12 50

Write a Review

Database Management System Questions & Answers

  Knowledge and data warehousing

Design a dimensional model for analysing Purchases for Adventure Works Cycles and implement it as cubes using SQL Server Analysis Services. The AdventureWorks OLTP sample database is the data source for you BI analysis.

  Design a database schema

Design a Database schema

  Entity-relationship diagram

Create an entity-relationship diagram and design accompanying table layout using sound relational modeling practices and concepts.

  Implement a database of courses and students for a school

Implement a database of courses and students for a school.

  Prepare the e-r diagram for the movie database

Energy in the home, personal energy use and home energy efficiency and Efficient use of ‘waste' heat and renewable heat sources

  Design relation schemas for the entire database

Design relation schemas for the entire database.

  Prepare the relational schema for database

Prepare the relational schema for database

  Data modeling and normalization

Data Modeling and Normalization

  Use cases perform a requirements analysis for the case study

Use Cases Perform a requirements analysis for the Case Study

  Knowledge and data warehousing

Knowledge and Data Warehousing

  Stack and queue data structure

Identify and explain the differences between a stack and a queue data structure

  Practice on topic of normalization

Practice on topic of Normalization

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd