Creating database and designing a simple tables in Access
Creating database and designing a simple tables in Access iti๐๏ธ Creating a Database and Designing Simple Tables in Microsoft Access
Microsoft Access is a user-friendly Database Management System (DBMS) that allows users to create and manage databases efficiently. In this lesson, ITI students will learn how to create a new database and design simple tables in MS Access.
๐ฅ Step-by-Step: Creating a New Database in MS Access
- Open Microsoft Access.
- Click on "Blank Database".
- Enter a name for your database (e.g., StudentRecords).
- Select the location to save the file and click Create.
- Access opens a new database with a default table named Table1.
๐ Designing a Simple Table
A table is where data is stored in rows and columns. Each row is a record and each column is a field.
๐ Steps to Create and Design a Table:
- In the database window, click on Table Design.
- Enter the Field Name (e.g., StudentID, Name, Age, Course).
- Select the Data Type for each field:
- Short Text โ for names, addresses
- Number โ for age, marks
- Date/Time โ for date of birth
- Add a Description if needed (optional).
- Choose a Primary Key (e.g., StudentID) by right-clicking on the field and selecting Set Primary Key.
- Click Save and give the table a name (e.g., Students).
๐งพ Example Table Design
Field Name | Data Type | Description |
---|---|---|
StudentID | Number | Unique ID for each student |
Name | Short Text | Full name of the student |
Age | Number | Student's age |
Course | Short Text | Course enrolled |
DateOfAdmission | Date/Time | Date of joining the course |
๐พ Saving and Entering Data
- After saving the table, double-click on the table name to open it in Datasheet View.
- Now, enter the data row by row.
- Each row is a new student record.
๐ฏ Learning Outcomes
- Understand how to create a basic database in MS Access.
- Design and structure tables with appropriate field types.
- Identify the importance of a primary key.
- Enter, manage, and view data records easily.
This foundational skill is essential for students aiming to work with data in offices, schools, or businesses using database systems like MS Access or SQL-based platforms.