Question: Consider the following relational database for the Super Baseball League. It keeps track of teams in the league, coaches and players on the teams, work
Consider the following relational database for the Super Baseball League. It keeps track of teams in the league, coaches and players on the teams, work experience of the coaches, bats belonging to each team, and which players have played on which teams. Note the following facts about this environment:
• The database keeps track of the history of all the teams that each player has played on and all the players who have played on each team.
• The database only keeps track of the current team that a coach works for.
• Team number, team name, and player number are each unique attributes across the league.
• Coach name is unique only within a team (and we assume that a team cannot have two coaches of the same name).
• Serial number (for bats) is unique only within a team.
• In the Affiliation table, the Years attribute indicates the number of years that a player played on a team;
the batting average is for the years that a player played on a team.

Write SQL SELECT commands to answer the following queries.
a. Find the names and cities of all of the teams with team numbers greater than
TEAM Table TEAMNUM TEAMNAME TEAMNUM COACH Table COACHNAME CITY MANAGER ADDRESS
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
