Creating a database in Microsoft Access involves several steps, which you've outlined in your project. Here’s a detailed guide to help you accomplish each part of the project step by step.
Part 1: Set Up the Initial Database
-
Open Access and Create a Blank Database:
- Launch Microsoft Access.
- Click on "Blank Database."
- Name your database and select a location to save it.
- Click "Create."
-
Add Four Tables:
- In the left navigation pane, right-click on "Tables" and select "Table Design."
-
Table 1: Game Company
- Create the following fields:
gameID
(Data Type: AutoNumber) - Primary KeyGameName
(Data Type: Short Text)Genre
(Data Type: Short Text)Developer
(Data Type: Short Text)Sales
(Data Type: Number)AvgRating
(Data Type: Short Text)
- Right-click on the
gameID
field and select “Primary Key.” - Define the descriptions for each field under the "Description" column.
- Create the following fields:
-
Table 2: Reviews
- Similarly, create a new table for Reviews with the following fields:
reviewID
(Data Type: AutoNumber) - Primary KeygameID
(Data Type: Short Text)ReviewName
(Data Type: Short Text)Comments
(Data Type: Short Text)
- Similarly, create a new table for Reviews with the following fields:
-
Table 3: Sources
- Create another table for Sources:
ID
(Data Type: AutoNumber) - Primary KeyWebsiteName
(Data Type: Short Text)WebsiteURL
(Data Type: Hyperlink)
- Create another table for Sources:
-
Table 4: Recommendation
- Create the Recommendation table:
Recommendation
(Data Type: Long Text)
- Create the Recommendation table:
Part 2: Research and Add Data
-
Research and Populate the Game Table:
- Select a video game company (e.g., Activision). Research titles and collect information.
- Enter 5-10 games in the Game table including fields like
GameName
,Genre
,Developer
,Sales
, andAvgRating
.
-
Add Sources to the Sources Table:
- For each source you use while researching, create a new record in the Sources table with the
WebsiteName
andWebsiteURL
.
- For each source you use while researching, create a new record in the Sources table with the
-
Populate the Review Table:
- Create reviews for the games you've listed. Ensure that the
gameID
matches the corresponding game.
- Create reviews for the games you've listed. Ensure that the
Part 3: Relate the Game and Review Tables
- Create Relationships:
- Click on the “Database Tools” tab, then click on “Relationships.”
- Add both the Game and Reviews tables.
- Drag
gameID
from the Game table togameID
in the Reviews table to create a relationship. Ensure "Enforce Referential Integrity" is checked.
Part 4: Create 3 Queries
-
Cross Table Query:
- Go to the "Create" tab and select "Query Wizard."
- Choose a "Crosstab Query" and follow the prompts to select fields from both tables.
-
Most Sales Query:
- In the "Create" tab, select "Query Design."
- Add the Game table, and select the fields you want to display (like
GameName
,Sales
). - Sort the
Sales
field in "Descending" order.
-
Restricted Query:
- In "Query Design," create a query with four fields from the Game table. Set criteria for restricting data as needed (e.g., Genre = 'Fighting').
Part 5: Create a Form for Recommendation
- Create the Recommendation Form:
- Click on the "Create" tab and choose "Form Wizard."
- Select the Recommendation table to create a form.
- Open the form and type your recommendation based on your analysis of the data collected.
Part 6: Create and Format a Report
-
Using the Report Wizard:
- Click on the "Create" tab and select "Report Wizard."
- Choose the fields from the Game and Review tables you want in the report.
- Follow the wizard's prompts to finish creating the report.
-
Add Custom Formatting:
- Open the created report in "Design View" and use design tools to format it (change fonts, colors, layout, etc.) to improve its appearance.
Conclusion
This guide provides a detailed journey through the project requirements using Microsoft Access. By following these steps, you’ll be able to analyze video game sales data effectively, create valuable queries, generate insightful reports, and formulate a well-grounded recommendation for the next game your studio should make. Be sure to regularly save your work and review your data for any inaccuracies. Good luck!