Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Question: The CEO of Dallas Bowling Inc. wants to build a data mart to keep track with bowlers performance. Specifically, he wants to know each

image text in transcribed

Question:

The CEO of Dallas Bowling Inc. wants to build a data mart to keep track with bowlers performance. Specifically, he wants to know each bowlers number of won games and average handicap score by each tournament and by each week. Provide 4-step dimensional model in the SQL comment section and create data mart solution in SQL for the dimension model that you propose.

TOURNAMENTS TourneylD TourneyDate TourneyLocation PK TOURNEY MATCHES MatchlD TourneylD OddLaneTeamID FK EvenLaneTeamlID FK PK Fk MATCH GAMES MatchID GameNumber CPK WinningTeamID FK CPK TEAMS PK TeamID TeamName CaptainlD FK BOWLERS BOWLER SCORES MatchID GameNumber CPK BowlerlD RawScore HandicapScore WonGame CPK BowlerID BowlerLastName BowlerFirstName BowlerMiddlelnit BowlerStreetAddress BowlerCity BowlerState BowlerZipCode BowlerPhoneNumber TeamID PK CPK FK Business scenario: Dallas Bowling Inc. has an OLTP database to record its tournament data. There are 6 tables stored inside the database When a tournament is announced, its date and location are stored in 'tournaments' table. The information of tournament match is kept in 'tourney_matches' table. When a match is played, the home team ID is classified as 'odd lane team ID', and the visiting team ID is classified as 'even lane team ID For each bowling match, two teams will play 3 games to decide the winner of the match, and the first team get two game wins will win the match. The 'match_games' table shows the winner of each game, and 'bowler_scores' table shows the score of each bowler who played for that game. All bowlers' and TOURNAMENTS TourneylD TourneyDate TourneyLocation PK TOURNEY MATCHES MatchlD TourneylD OddLaneTeamID FK EvenLaneTeamlID FK PK Fk MATCH GAMES MatchID GameNumber CPK WinningTeamID FK CPK TEAMS PK TeamID TeamName CaptainlD FK BOWLERS BOWLER SCORES MatchID GameNumber CPK BowlerlD RawScore HandicapScore WonGame CPK BowlerID BowlerLastName BowlerFirstName BowlerMiddlelnit BowlerStreetAddress BowlerCity BowlerState BowlerZipCode BowlerPhoneNumber TeamID PK CPK FK Business scenario: Dallas Bowling Inc. has an OLTP database to record its tournament data. There are 6 tables stored inside the database When a tournament is announced, its date and location are stored in 'tournaments' table. The information of tournament match is kept in 'tourney_matches' table. When a match is played, the home team ID is classified as 'odd lane team ID', and the visiting team ID is classified as 'even lane team ID For each bowling match, two teams will play 3 games to decide the winner of the match, and the first team get two game wins will win the match. The 'match_games' table shows the winner of each game, and 'bowler_scores' table shows the score of each bowler who played for that game. All bowlers' and

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Intranet And Web Databases For Dummies

Authors: Paul Litwin

1st Edition

0764502212, 9780764502217

More Books

Students also viewed these Databases questions