DATABASE
This topic was all about types of database, database management system and database models . Let me introduce about database first. Database is an organized collection of data. The data is typically organized to model relevant aspects of reality(for e.g, the availability of rooms in hotels), in a way that supports process requiring this information (for e.g, finding a hotel with vacancies). Here are components of database:- Data item
- Relationships
- Constraints
- Schema
It has 5 primary functions:
- Define, create and organize a data
- Input data
- Process data
- Maintain data integrity and security
- Query database

Examples of DBMS are Microsoft Access, SQL server and FileMaker.
There are 3 types of Database Language
- DDL(Data Definition Language)
- DML(Data Manipulation Language)
- DCL(Data Control Language)
DDL
.jpg)
The basic block for data models are:
- Entity
- Attributes
- Relationship
Entity- represents a particular object in the real world( a person, a place or an event). For e.g, student information system : subject, student, course, time table.
Attributes- it is the charactristics of entity that represent by column in table.
Relationship- it describes the relationship among entities. It can be describe in a form of diagram, called ERD( Entity Relationship Diagram). There are 3 forms of ERD:
- One to One(1:1)
- One to Many(1:M)
- Many to Many(M:M)

.jpg)



No comments:
Post a Comment