Docsity

labs on database management system along with sample, Lab Reports of Database Management Systems (DBMS)

Toggle sidebar
bg1
Lab Series for Database design and Development
Lab1: Create an ER diagram using Draw.io
Lab2: Install and configure XAMPP server (WAMP/MAMP) as a local Database
server.
Lab3: Access and getting started with MySQL database server and Apache web
server.
Lab4: Start and close database server connection using Server-side script and
XAMPP Control Panel.
Lab5: Create a custom MySQL database.
Lab6: Create a Table (using both SQL and GUI) and maintain relationship between
tables.
Lab7: Insert data into database tables using both SQL and GUI.
Lab8: Update data into database tables using both SQL and GUI.
Lab9: Delete data into database tables using both SQL and GUI.
Lab10: Drop and Truncate database tables
Lab11: Drop the database.
Lab12: Design a User Interface for insert data into database using HTML
Lab13: Design a Backend system to insert data into database using PHP and
MySQL
Lab14: Design a Backend system to Display data from database using PHP, HTML
and MySQL
Lab15: Design a Backend system to Update data into database using PHP and
MySQL
Lab16: Design a Backend system to Delete data into database using PHP and
MySQL
Lab17: Reverse Engineering for Class diagram using MySQL Workbench.
[By Dj Kafle]
pf3
pf4
pf5

Partial preview of the text

Download labs on database management system along with sample and more Lab Reports Database Management Systems (DBMS) in PDF only on Docsity!

Lab Series for Database design and Development Lab1: Create an ER diagram using Draw.io Lab2: Install and configure XAMPP server (WAMP/MAMP) as a local Database server. Lab3: Access and getting started with MySQL database server and Apache web server. Lab4: Start and close database server connection using Server-side script and XAMPP Control Panel. Lab5: Create a custom MySQL database. Lab6: Create a Table (using both SQL and GUI) and maintain relationship between tables. Lab7: Insert data into database tables using both SQL and GUI. Lab8: Update data into database tables using both SQL and GUI. Lab9: Delete data into database tables using both SQL and GUI. Lab10: Drop and Truncate database tables Lab11: Drop the database. Lab12: Design a User Interface for insert data into database using HTML Lab13: Design a Backend system to insert data into database using PHP and MySQL Lab14: Design a Backend system to Display data from database using PHP, HTML and MySQL Lab15: Design a Backend system to Update data into database using PHP and MySQL Lab16: Design a Backend system to Delete data into database using PHP and MySQL Lab17: Reverse Engineering for Class diagram using MySQL Workbench.

Lab 1: Create an ER diagram using Draw.io

Introduction

  1. ER Model  Entity-relationship (E-R) model is a high-level data model based on a perception of a real world that consists of collection of basic objects, called entities, and of relationships among these entities. An entity is a thing or object in the real world that is distinguishable from other objects. Entities are described in a database by a set of attributes. A relationship is an association among several entities. The set of all entities of the same type is called an entity set and the set of all relationships of the same type is called a relationship set.  Overall logical structure of a database can be expressed graphically by E-R diagram. The basic components of this diagram are: o Rectangles (represent entity sets) o Ellipses (represent attributes) o Diamonds (represent relationship sets among entity sets) o Lines (link attributes to entity sets and entity sets to relationship sets)  Relationships are represented by diamond-shaped box. Name of the relationship is written inside the diamond-box. All the entities participating in a relationship, are connected to it by a line. Types of relationship o One-to-one o One-to-many o Many-to-one o Many-to-many
  2. Draw.io draw.io is a very convenient and useful online graph editor platform. Draw.io is a fun and easy to get into tool for drawing diagrams. It does not need to be present in the local machine, in the conventional sense: a simple browser will suffice to open, save and edit the diagrams, supporting even an offline editor.

Step4: Save the diagram in any of the available location.

Conclusion

Draw.io is a professional tool to create a diagram like ER diagram. It is by far one of the easiest to use diagram creation tools, featuring a friendly interface, plenty of functionality and a high level of customization.