Top Banner
Sample Here are steps to create a simple Database: 1. 2. Create a Blank Database
12

Sample Here are steps to create a simple Database · 2011. 1. 12. · Rename database1 to Student database2, click on the small folder to the right to save your file in your flash

Mar 08, 2021

Download

Documents

dariahiddleston
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Sample Here are steps to create a simple Database · 2011. 1. 12. · Rename database1 to Student database2, click on the small folder to the right to save your file in your flash

Sample

Here are steps to create a simple Database:

1.

2. Create a Blank Database

Page 2: Sample Here are steps to create a simple Database · 2011. 1. 12. · Rename database1 to Student database2, click on the small folder to the right to save your file in your flash

3. Rename database1 to Student database2, click on the small folder to the right to save your file in your flash drive (hard disk).

Page 3: Sample Here are steps to create a simple Database · 2011. 1. 12. · Rename database1 to Student database2, click on the small folder to the right to save your file in your flash

4. The Database created a Table for you. (Table 1) The first field is known as the Primary Key which is automatically set as Auto Number.

Page 4: Sample Here are steps to create a simple Database · 2011. 1. 12. · Rename database1 to Student database2, click on the small folder to the right to save your file in your flash

5. The next step is to Name each field, such as Last Name and First Name (You can add more later on). Double Click to rename the field.

6. If the data is made up of letters, set the Data Type to TEXT and if it is numbers, set the Data Type to NUMBER. Otherwise, this will cause problems later on.

Page 5: Sample Here are steps to create a simple Database · 2011. 1. 12. · Rename database1 to Student database2, click on the small folder to the right to save your file in your flash

7. Now, enter each record (row), such as John Smith, Mark Adams, Valerie Kilm. Make sure to Tab through each row to enter the records.

Page 6: Sample Here are steps to create a simple Database · 2011. 1. 12. · Rename database1 to Student database2, click on the small folder to the right to save your file in your flash

8. To create more tables, go to CREATE and click on Table.

Page 7: Sample Here are steps to create a simple Database · 2011. 1. 12. · Rename database1 to Student database2, click on the small folder to the right to save your file in your flash

9. Continue creating new tables, fields and enter your data by repeating Steps 5-8.

10. You can save your tables by right clicking on the table tab, click save and then rename your table on the space given. It is a good habit to name your table but the system has a default name you can use.

Page 8: Sample Here are steps to create a simple Database · 2011. 1. 12. · Rename database1 to Student database2, click on the small folder to the right to save your file in your flash

11. In order to take advantage of the database, it is better to create a Relationship first between the tables and then apply Query.

12. Close all tables before you create a Relationship.

Page 9: Sample Here are steps to create a simple Database · 2011. 1. 12. · Rename database1 to Student database2, click on the small folder to the right to save your file in your flash

13. To create a Relationship, go to Database Tools and click on Relationships.

Page 10: Sample Here are steps to create a simple Database · 2011. 1. 12. · Rename database1 to Student database2, click on the small folder to the right to save your file in your flash

14. This is what you will see, add both or all tables that you have created.

Page 11: Sample Here are steps to create a simple Database · 2011. 1. 12. · Rename database1 to Student database2, click on the small folder to the right to save your file in your flash

15. The relationship is between Student table1 and Payments table2. Primary key on table 1 which is ID (you will see a Key icon beside it) and then Student ID which is known as foreign key in table 2 (which is really a student ID in table 1).

Page 12: Sample Here are steps to create a simple Database · 2011. 1. 12. · Rename database1 to Student database2, click on the small folder to the right to save your file in your flash

Drag the Primary Key (ID on Student Table) to the Foreign Key (Student ID on Payment table). When you see Edit Relationship pop up, click on Enforce Relationship Integrity then click on Create.