[SOLVED] DBM405A LAB 4 NEXTSEASON SEASON TABLES INDEXES AND REPORT
I. OBJECTIVES
- Understand and become familiar with Tables and Indexes.
II. PARTS LIST
- EDUPE Omnymbus Environment (https://devry.edupe.net:8300); and/or
- MySQL (dev.mysql.com/downloads).
[SOLVED] DBM405A LAB 4 NEXTSEASON SEASON TABLES INDEXES AND REPORT
III. PROCEDURE
By now you have set up either the Omnymbus environment or the MySQL Server Community environment or both. You may do the labs in this class on your own computer equipped with MySQL or you may use the MySQL environment hosted by the vendor Omnymbus. You may even use both.
Lab Procedure Continued (common to both environments)
- Create another table called “NextSeason” by copying the structure of the table “Season” and copying all the data from “Season” into the new table.
- Change the structure of “NextSeason” by adding the following field:
- Innings (Integer)
- Change the structure of “PastSeasons” by adding the following field:
- Innings (Integer)
- Delete the table “Season”.
- Rename the table “NextSeason” to “Season”.
- Create an index on the table “Teams”, indexing on “TeamCode”.
- Create an index on the table “Players”, indexing on “Team”.
- Based on the indexes, create a report or display of each team and the associated players on each team.