Skip to main content

The local council is planning to implement a database system to help track players that sign up to play soccer. Data needs to be maintained for each team, the players their parents. Also, data needs to be stored for the coaches for each team.

Task A — ER Diagram
The local council is planning to implement a database system to help track players that sign
up to play soccer. Data needs to be maintained for each team, the players their parents.
Also, data needs to be stored for the coaches for each team.
Consider the following set of requirements to maintain this database:
A Team is made up of many Players, and also has a Coach, and each Player has a
Parent.
Each Team has an ID number, name, and colours.
Each Player has an ID number, first name, last name, and age.
Each Coach has an ID number, first name, last name, and home phone number.
Each Parent has an ID number, last name, first name, Home phone number, and
Home Address (Street, City, State, and Postal Code).
A Player must have one and only one Team.
A Team must have many Players.
A Team may or may not have a Coach.
A Coach must have one and only one Team.
A Team may have many Coaches.
A Player must have at least one Parent, possibly more.
A Parent must have a Player.
According to the information above, draw a corresponding ER diagram. Please note:
A1. You may decide the names for entities, attributes and relations, but you should use
UPPERCASE to name your entities and use Capitalisation (of first letter) to name attributes
of entities.
A2. Underline all primary key attributes and mention all the foreign key attributes.
A3. Clearly indicate participation and cardinalities between entities. Also specify the
relationship verbs.
Task B — Normalization
Consider the following relation for student records:
GRAPEREPQRT(StudentIP, StudentName, StudentMajQL StudentStreetA4dress,
CpurseJ.p., CpurseJltle, CpurseCredjtPQjnts,
CpurseJ.nstrugtQflP, Jns.trugtQflP, JnstrugtprQffjge, Grade)
Given that the following functional dependencies exist:
- StudentName, StudeotM@j.pr,
- Grade
Instructor - Jns.trugMP, Jns.trugtprNgme, InstrugtprQffjge
Bl. Why is the relation in INF? State the reason(s).
B2. Is the relation in 2NF? State the reason for your answer with example.
B3. Decompose the relation to 3NF. State the reason(s) why the decomposed relation is in
3NF.
Task C - SQL
Consider the following relational schema (the primary keys are underlined and foreign keys
are italic)
sname addressline1,addressline2, city, state, zip)
colour, description)
CATALOGUE Su lierlD PartslD cost, availability)
Write the SQL statements for the following queries:
Cl. List the PartslD's of all parts containing -plastid'.
C2. Find the names of suppliers who supply parts of red color and costing less than $200.
C3. What is the price of the lowest costing part in Melbourne?
C4. Find the suppliers who either supply some red part or who are in NSW

Comments

Popular posts from this blog

Should pit bull terriers be banned in my community

 Discussion Forum: Counterarguments (Should pit bull terriers be banned in my community) You created a question about the topic for your W6 Rough Draft. For this discussion, you will give an answer to that question in the form of a thesis statement. "Dieting Makes People Fat" Main Post: Share your thesis statement with your classmates. Please note: As with last week’s discussion, nothing here is set in stone. Be open to changing everything about your topic, including your position and audience, as you research it and get feedback from your classmates. Topic + Position/Purpose + Supporting Points =Thesis Statement Example: Suppose the question you posed in the Week 5 discussion was something like, “Should pit bull terriers be banned in my community?” After doing some preliminary research, you have concluded that pit bulls, if raised properly, are no more dangerous than other breeds of dogs. Your thesis statement can be something like, “Pitbulls should not be banned

CYBER SECURITY and how it can impact today's healthcare system and the future

 Start by reading and following these instructions: Create your Assignment submission and be sure to cite your sources, use APA style as required, and check your spelling. Assignment: Recommendations Document Due Week 6 (100 pts) Main Assignment Recommendations Document The 1250 to 1500-word deliverable for this week is an initial draft of your recommendations. Note that this is a working document and may be modified based on insights gained in module eight and your professor's feedback. This document should contain the following elements: Summary of your problem or opportunity definition A list of possible recommendation alternatives. In this section, you are not yet at the point of suggesting the best set of recommendations but you are trying to be creative and explore all the different ways that the problem or opportunity might best be addressed. The end result here will be a list of alternatives among which you will choose your final recom

Do violent video games encourage players to become violent in real life?

 Write an outline for Speech 3, the persuasive belief speech, following the outline guidelines and formatting requirements (Do violent video games encourage players to become violent in real life?).  1000-1200 WORDS https://virtualspeech.com/blog/persuasive-speech-outline-structure-delivery Topics: https://blog.prepscholar.com/good-persuasive-speech-topics Do violent video games encourage players to become violent in real life? https://www.youtube.com/watch?v=YKKWOx43pIY WE HAVE DONE THIS ASSIGNMENT BEFORE, WE CAN ALSO DO IT FOR YOU GET SOLUTION FOR THIS ASSIGNMENT,  Get Impressive Scores in Your Class CLICK HERE TO MAKE YOUR ORDER   on Do violent video games encourage players to become violent in real life? Are You looking for Assignment and Homework Writing help?  We Provide High-Quality Academic Papers at Affordable Rates. No Plagiarism. TO BE RE-WRITTEN FROM THE SCRATCH