Grade 10 - Notes - Database Management System
Grade 10 - Notes - Database Management System
Introduction to Data
Data refers to raw facts, figures, or symbols that have no meaning on their own.
Example: A list of numbers like 85, 92, 76 or names like "Ram", "Sita", etc.
2. Introduction to Information
Data Information
Raw facts and figures Processed and meaningful data
Not useful alone Useful and understandable
Example: "65, 70, 80" Example: "Marks of students"
Data processing is the method of converting raw data into meaningful information.
It involves steps like input, processing, storage, and output.
Example: Typing marks into a computer (input), calculating average (process), storing it, and printing report
(output).
DBMS is software used to create, store, manage, and retrieve data from a database.
It helps in organizing data efficiently.
Example: MS Access, MySQL, Oracle.
ID Name Age
1 Ram 16
2 Sita 17
7. Importance of DBMS
8. Types of DBMS
Relational Database Management System (RDBMS) stores data in tables with rows and columns.
Each table is related using keys.
Importance:
Example Use: Creating a student database for managing attendance and marks.
A. Blank Database
B. Using a Template
Example:
A student database can have a table for marks, a form for data entry, queries to get top students, and a report to
print marksheet.
Property Function
Field Size Limits the number of characters/numbers
Format Defines how data appears (e.g., date format)
Input Mask Pattern for data entry (e.g., phone number)
Caption Alternate name for field (appears on forms/reports)
Default Value Automatically enters a value
Validation Rule Condition for data (e.g., >0 for marks)
Validation Text Message if data doesn’t meet the rule
Required Makes sure a field must be filled
Allow Zero Length Allows blank entry in text field
Decimal Places Sets number of decimals for numeric data
Indexed Speeds up search/sorting in large tables
Example:
Example:
Example:
ID Name Age
1 Ram 16
2 Sita 17
• To remove an index:
o Go to Design View
o Click the field
o Set Indexed to “No” in Field Properties
27. Modifying the Table Design
Action Steps
Add a field Go to Design View → Add new field at bottom
Delete a field Select the field row → Right-click → Delete
Rename a field Click on the field name and edit it
Change data type Change the data type dropdown next to the field name
Type Steps
Single Field Sort Click the column heading → Choose Sort A-Z or Sort Z-A
Multiple Field Sort Use Sort Row in Design View of Query with multiple fields
Remove Sort Right-click → Remove Sort
Filtering Records Use Filter option in ribbon or right-click on a value → Apply filter
• Queries help retrieve specific data (e.g., students with marks > 80)
• You can edit data through queries, just like editing a table
• You can add calculations and conditions in the query
Type Purpose
Delete Query Removes records from a table
Update Query Modifies existing data
Append Query Adds records to another table
Make-Table Query Creates a new table from selected data
Example:
Method Steps
Form Wizard Go to Create > Form Wizard → Choose fields and layout → Click Finish
Form Design Go to Create > Form Design → Manually place fields and design
Reports are used for printing summaries like mark sheets, invoices, etc.