Professional Documents
Culture Documents
DATABASE CONCEPTS
© Manusha Jayarathne 1
What is a Database?
◦ A database is systematically organized storage of information, and it allows easy insertion, updating,
analysis, and retrieval of data.
◦ A collection of interrelated data items that can be processed by one or more application systems.
Users with
Management ID, Name, Rules and Regulations Ex: -
RAM, HDD, etc. Different Access
System, etc. Address, etc. (Refund, Unregister)
Levels
Marks
◦ Primary Key is a key in a relational database that is unique for each record. It is a unique identifier
1 M
Father Has Children
1 M
Customer Place Order
M Enrolls N
Student Batch
in
◦ One to One
1 1
Person Has NIC
◦ One Person can have maximum One NIC, One NIC can belonged to maximum One person
1 M
Mother Have Children
◦ One Mother can have maximum Many Children's, One Child can have maximum One mother
M Enroll N
Student Batch
s in
◦ One Student can enroll in maximum Many Batches, One Batch can contain maximum Many Students.
◦ One to One
1..1 0..1
Person Has NIC
◦ One Person can have None or only One NIC, One NIC must be belonged to One and Only One Person.
1..1 1..*
Customer Places Order
◦ One Customer must place at least One or Many orders, One Order must be placed by One and Only
One customer.
◦ One Student must enroll in at least One or Many batches, One Batch may contain None or Many
Students at a time.
THANK YOU
Manusha Jayarathne 50