Question: Please answer questions 2&3 ASAP!!! Consider the following relational model for a basketball league: Notations Typing b [S] Player (PlayerID, PName, Position, TeamID) Team (TeamID.TName,

 Please answer questions 2&3 ASAP!!! Consider the following relational model for

Please answer questions 2&3 ASAP!!!

Consider the following relational model for a basketball league: Notations Typing b [S] Player (PlayerID, PName, Position, TeamID) Team (TeamID.TName, Venue) Game GameNo, Date, Time, HomeTeamID, AwayTeamID) Record (GameNo PlayerID, Points) TT [P] 5 In this basketball league, each team has a unique name and each player plays for only one team. One team has at least 10 players. Two teams (home team versus away team) participate in each game at home team's venue. A team meets each of other teams twice (i.e., double round-robin tournament), one time as home team and the other time as away team. For each game, the league records the number of points scored by each player. If a player played for a game but did not score any point, there is a record for the player with zero point. If a player did not play for a game, there is no record for this player for that game (i.e., no record in the Record relation). Please answer all the following questions based on the provided relational model and information for the basketball league. Question 2. Write a relational algebra that returns the PlayerID and PName of players who did not play for any game. [20 marks] You should type notations of relational algebra as depicted in the following table o [R] Notations Typing 0 [S] TT [P] * * [J] [R] Question 3. Write a relational algebra that returns the GameNo, Venue, team name of the home team (renamed it as Home TeamName) and team name of the away team (renamed it as Away TeamName). [20 marks] You should type notations of relational algebra as depicted in the following table

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!