You decide to catalog your video games in an Access database. In this project, you add two tables to a database you have started—one to identify the game system that plays your game and one to identify the category or genre of the game. Then you join the tables in a relationship and query the database to determine which games to take to a family party.
For the purpose of grading the project you are required to perform the following tasks:
Start Access. Open the downloaded Access file namedexploring_a02_grader_h2.
Create a new table in Design view. Add the field nameSystemID and select AutoNumber as the Data Type. Add the caption System ID. Set the SystemID field as the primary key for the table.
Add a second field named SystemName with the Short Text Data Type. Change the SystemName field size property to 15. Add the caption System Name. Save the table as System.
Switch to Datasheet view and enter the following system names, letting Access assign the System ID:XBOX 360PS3WiiNESPC GameNintendo 3DSSave and close the table.
Create a new table in Design view. Add the field nameCategoryID and select AutoNumber as the Data Type. Add the caption Category ID. Set the CategoryID field as the Primary Key for the table.
Add a second field named CategoryDescription and accept Short Text as the Data Type. Change the field size property to25. Add the caption Category Description. Save the table asCategory.
Switch to Datasheet view and enter the following system names letting Access assign the Category ID:ActionAdventureArcadeRacingRhythmRole-playingSimulationSportsSave and close the table.
Begin establishing relationships in the database by adding the Category, Games, and System tables to the Relationships window. Close the Show Table dialog box. Create a one-to-many relationship between the SystemID field in the System table and the SystemID field in the Games table, enforcing Referential Integrity. Select the option to cascade update the related fields.
Create a one-to-many relationship between the CategoryID field in the Category table and the CategoryID field in the Games table and enforcing Referential Integrity. Select the option to cascade update the related fields. Save and close the Relationships window.
Create a simple query using the Query Wizard. From the Games table, add the GameName and Rating fields (in that order). Save the query using the title Ratings and close the query.