The world’s Largest Sharp Brain Virtual Experts Marketplace Just a click Away
Levels Tought:
Elementary,Middle School,High School,College,University,PHD
| Teaching Since: | Apr 2017 |
| Last Sign in: | 103 Weeks Ago, 4 Days Ago |
| Questions Answered: | 4870 |
| Tutorials Posted: | 4863 |
MBA IT, Mater in Science and Technology
Devry
Jul-1996 - Jul-2000
Professor
Devry University
Mar-2010 - Oct-2016
Database Design
Examine the attached database network diagram and write the SQL statements required. Special attention to syntax and function. It is recommended that you first create a database so you can test your SQL statements for functionality.
Â
SQL Exercise 3Consider the following relational database for the Super Baseball League.It keeps track of teams in theleague, coaches and players on the teams, work experience of the coaches, bats belonging to each team, andwhich players have played on which teams.Note the following facts about this environment:ï‚·The database keeps track of the history of all of the teams that each player has played on and all of theplayers 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 only unique within a team (and we assume that a team cannot have two coaches of thesame name.)ï‚·Serial number (for bats) is only unique within a team.ï‚·In the Affiliation table, the Years attribute indicates that 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.
Attachments:
-----------