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 of 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 of 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.

TOURNAMENTS Tourneyl TourneyDate PK TOURNEY MATCHES PK FK MATCH GAMES TourneylD Lanes OddLane TeamID FK EvenLaneTeamID FK CPK GameNumber CPK WinningTeamID FK TEAMS TeamID TeamName PK FK BOWLERS BOWLER SCORES MatchID GameNumber CPK PK BowlerFirstName CPK BowlerZipCode TeamID 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. Whena 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 gettwogame wins will win the match. The 'match_games' table shows the winner of each game, and "bowler_scores table shows the score of each bowlerwho played for that game. All bowlers' and teams' information such as team captain, and bowlername, are recorded in 'bowlers' and 'teams' tables. The figure above shows the logical schema of Dallas Bowling Inc.'s OLTP database

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

Put Your Data To Work 52 Tips And Techniques For Effectively Managing Your Database

Authors: Wes Trochlil

1st Edition

0880343079, 978-0880343077

More Books

Students also viewed these Databases questions