A database is an organized collection of related information. Microsoft Access helps users store, organize, search, update, and present data. In this lesson, you will learn about databases, tables, fields, records, data types, primary keys, relationships, queries, forms, and reports.
A database is an organized collection of related data that can be stored, searched, updated, and retrieved.
Example: A coaching institute may maintain a database containing student names, courses, mobile numbers, and fee details.
A Database Management System (DBMS) is software used to create and manage databases.
Examples include Microsoft Access, MySQL, Microsoft SQL Server, Oracle Database, and PostgreSQL.
Access is a relational database management application useful for many desktop and small-business database solutions.
A table stores related data in rows and columns. For example, a Students table can store details about students.
| StudentID | Name | Course | Fees |
|---|---|---|---|
| 101 | Rahul | ADCA | 10000 |
| 102 | Priya | Tally Prime | 4000 |
| 103 | Amit | Web Development | 12000 |
A record is one complete row in a table. It contains the values for one item or person.
Example: The row containing StudentID 101, Rahul, ADCA, and 10000 is one student record.
A field is a column in a table that stores one category of information.
Examples include StudentID, Name, Course, Mobile, DateOfBirth, and Fees.
Each field has a field name and a data type that determines what kind of value it can store.
In a Students table, Rahul's complete row is a record, while Name is a field.
A data type defines the kind of information a field can store.
The available field types can vary by Access version and table design.
A primary key uniquely identifies each record in a table.
For example, StudentID can identify a student even if two students have the same name.
A primary key cannot contain duplicate values or Null values.
A foreign key is a field in one table that refers to a key in another table, helping connect related information.
Example: A Payments table may contain StudentID to show which student made each payment.
A relationship connects related tables using matching fields.
For example, Students.StudentID can be related to Payments.StudentID.
Relationships help reduce unnecessary repetition and support consistent data.
Example: One student can have many payment records, which is a one-to-many relationship.
A query is used to find, filter, sort, calculate, or modify data according to specified conditions.
Example: A query can display students enrolled in the ADCA course or show students whose fees are pending.
A form provides a convenient interface for entering, viewing, and editing records.
Example: A Student Admission Form can contain fields for a student's name, course, mobile number, and admission date.
A report presents data in a structured format suitable for viewing or printing.
Example: A monthly fee report can show students, payment amounts, and the total fee collected.
A small institute database might contain these tables:
StudentID and CourseID can be used to connect related records between tables.
A spreadsheet such as Excel is useful for calculations, charts, and flexible data analysis. A relational database such as Access is useful for managing structured records across related tables.
The best option depends on the amount of data, relationships, reporting needs, and how the information will be used.
Task: Plan a simple database for a computer institute.
Question 1: What does a table contain?
Question 2: Which key uniquely identifies each record in a table?
Question 3: Which Access object is used to enter data through a user-friendly interface?