Question: Create a database named Baseball. Create a table named Teams and add the following fields: TeamCode (character 5) TName (character 20) TAddress (character 30) TCity
Create a database named Baseball.
Create a table named Teams and add the following fields:
TeamCode (character 5)
TName (character 20)
TAddress (character 30)
TCity (character 20)
TState (character 2)
TZip (character 9)
Wins (integer)
Losses (integer)
Populate the table with 8 teams.
Create a table named Players and add the following fields:
FirstName (character 20)
LastName (character 30)
MidInit (character 1)
PAddress (character 30)
PCity (character 20)
PState (character 2)
PZip (character 9)
Phone (character 11)
Team (character 5)
Populate the table with 80 players (10 on each team). For the team, use the TeamCode from the first table to identify the Team the player is on.
Display or list the data from both table to the screen or printer.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
