CH 1 Database
CH 1 Database
Key Concepts
Database
Types of Databases
1. Paper-Based Database
2. Computer-Based Database
Data is stored digitally and can be easily retrieved using a computer program.
Example: Microsoft Access, Google Sheets, or an online shopping website storing customer
details.
Advantages:
Easy to find data using specific criteria.
No physical storage required.
Easy to edit and duplicate data.
Reports can be generated based on records.
Components of a Database
Tables: Store data in a structured manner.
Example: A student database with tables for student details, marks, and attendance.
Records (Rows): Contain information about a single entity.
Example: A single row in a student table may contain Name: John, Roll No: 12, Grade: A.
Fields (Columns): Store specific details about each entity.
Example: A 'Phone Number' field in a contact list.
Functions of DBMS
Each field requires a data type that determines how data is stored, displayed, and
manipulated.
Examples of data types:
Text: For names, addresses (e.g., "John Doe").
Number: For numerical values (e.g., "Age: 16").
Date/Time: For storing dates and time (e.g., "Birthdate: 12/05/2010").
Boolean: For Yes/No values (e.g., "Is Member? Yes").