Professional Documents
Culture Documents
Word Dbms
Word Dbms
Word Dbms
there is
no requirement that a primary key have only one primary key
Database Management System
CASE STUDY
ONLINE EDUCATION SYSTEM
This ER (Entity Relationship) Diagram represents the model of Online Education System
Entity. The entity-relationship diagram of Online Education Management System shows all
the visual instrument of data base tables and the relations between Students, Fees, Course,
and Training etc. It used structure data and to define the relationships between structured
data groups of Online Education System functionalities. The main entities of the Online
Education System are Course, Students, Schedules, Fees, Durations and Training.
• Course Entity: Attributes of Course are course_id, course student id, course registration,
course_name, course_type, course_year, course_ description
The details of Course is store into the Course tables respective with all tables
Each entity (Training, Schedules, Durations, Students, Course) contains primary key
and unique keys.
The entity Schedules, Durations has binded with Course, Students entities with
foreign key
All the entities Course, Durations, Schedules, Training are normalized and reduce
duplicacy of records
We have implemented indexing on each table of Online Education System tables for
fast query execution.
++++++++++++++++=====================
The CREATE DATABASE statement is used to create a new SQL database.
The column parameters specify the names of the columns of the table.
The datatype parameter specifies the type of data the column can hold (e.g. varchar,
integer, date, etc.).
The ALTER TABLE statement is used to add, delete, or modify columns in an existing table
The ALTER TABLE statement is also used to add and drop various constraints on an
existing table.
To insert a new record into the "Student" table, we will NOT have to specify a value for
the "Studentid" column (a unique value will be added automatically):