Database applications | Computer Science homework help
Has to be done in 6 hours and you must know to use MS Access!!
Directions:
1. Create a new MS Access database. Save it in to your computer or other destination using the following protocol: lastname_NCAA (for example, Henry_NCAA), (2) modify the database based on the instructions, (3) save your work
2. Import the Teams.xlsx file as a new table to your database. (see attachment for Teams.xlsx file). The following site will also help you with the import process.
a. First row contains column headings.
b. In a new table
c. Make no changes to any of the fields
d. Make the “Team Name” field your primary key
e. Save the table as Teams
f. Close the table after you have correctly imported it.
3. Create a new table with the following fields;
FieldName FieldType Format/Other Items
Conference Text Primary Key
Total Teams Number Integer
Tournament Teams Number Integer
4. Save the table as Conferences
5. Open the table in Datasheet view and enter the following information about the NCAA Conferences:
Conference
Total Teams
Tournament Teams
Big Ten
14
8
Big Twelve
12
6
Atlantic Coast
15
7
Southeastern
14
7
Big East
10
4
Pacific-12
12
3
American Athletics
12
4
West Coast
10
2
Mid-American
12
1
Mountain West
11
2
Atlantic 10
14
2
Missouri Valley
10
1
Southern
10
1
Ivy Group
8
1
Sun Belt
12
1
Conference USA
14
1
Western Athletic
9
1
Horizon League
10
1
Colonial Athletic Association
10
1
Big West
9
1
6. Save and close the table
7. Create a table with the following fields:
FieldName FieldType Format/Other Items
LastName Text Primary KeyPosition Lookup Wizard Create w/ the following options – Guard, Forward, Center (Hint: (HINT: Select “I will type the values that I want.” Click Next. Then type in the 3 optionsTeam Text Size of 20PPG Number DoubleRebounds Number Double
8. Save the table as Players
9. Open the table in Datasheet view and enter the following information for the Players Table using the example below:
a. Complete the table using names and information for 10 players
b. Use at least five of the team names from the Teams Table
LastName Position TeamName PPG Rebounds
Anthony Cowan Jr. Guard Maryland Terrapins 15.6 3.7
10. Save and close the table.
Relationships:
1. Click the Relationship button on the Database tools tab.
2. Add all three tables in the database, Teams, Conferences, and Players to the Relationships window.
3. Create a relationship between the Teams table and the Players table using the TeamName field. Make sure the following are true for this new relationship:
a. It is a One-to-One relationship.
b. Enforce Referential Integrity is selected.
c. Cascade Update Related Fields is selected.
d. Cascade Delete Related Records is selected.
4. Create a relationship between the Teams table and the Conference table using the “Conference” field. Make sure the following are true for this new relationship:
a. It is a One-to-Many relationship.
5. Save the changes you made to the relationships for this database.
6. Close the Relationships Window