Dbms Final
Dbms Final
Dbms Final
backend development.
Presented by:-
Akshat Jain(01411503122)
Anuvansh Kaushik(02711503122)
Raghav Garg(02911503122)
Shashank(01511503122)
"A Journey into DBMS Architecture, ER Model,
Relational Model, and SQL Basics"
Attributes (properties):
◦ Characteristics or properties that describe entities.
◦ Examples: Name, Age, Price.
Use of ER Diagrams:
Visual tools for modeling data structures.
◦ Representing entities as rectangles, attributes as ovals, and relationships as lines connecting entities.
◦ Provides a clear visual representation of how data elements are related within a system.
Example depicting types of attributes
Sample ER model for university
management system
Relational Model
The Relational Model organizes data into tables (relations) consisting of rows (tuples) and columns
(attributes).
Key Concepts:
Tables:
◦ Fundamental structures that hold data in the relational model.
◦ Examples: Customer table, Product table.
Rows (Tuples):
◦ Individual records or instances of data within a table.
◦ Each row represents a unique entry in the table.
Columns (Attributes):
◦ Fields or properties of the data stored in a table.
◦ Examples: CustomerID, Name, Email.
Example
Normalization in Relational
Databases
Purpose: "Normalization minimizes data redundancy and dependency issues."
Key Normal Forms:
1NF (First Normal Form):
◦ Ensures that each column in a table contains atomic (indivisible) values.
◦ Eliminates duplicate columns.
Flexibility:
◦ Facilitates easier modification and adaptation of the database structure.
Performance:
◦ Optimizes query performance by eliminating redundant data.
Introduction to SQL
SQL is a language used to manage and manipulate relational databases.
Purpose: "Executing operations like SELECT, INSERT, UPDATE, DELETE in DB.“
MySQL HeatWave is the only MySQL database service for OLTP, OLAP, ML, and
Lakehouse. In this webinar, we will focus on the machine learning capabilities and
will explain why it makes it easy to create new ML models for your MySQL
applications.
MySQL HeatWave AutoML includes everything users need to build, train, deploy, and
explain machine learning models within MySQL HeatWave.
Basic Commands of MYSQL:
1. SELECT:
Retrieves data from one or more tables.
Example: SELECT * FROM Customers;
2. INSERT:
Adds new records to a table.
Example: INSERT INTO Products (ProductID, ProductName, Price) VALUES (1, 'Laptop', 1200);
3. UPDATE:
Modifies existing records in a table.
Example: UPDATE Customers SET Email = 'newemail@example.com' WHERE CustomerID = 1;
4. DELETE:
Removes records from a table.
Example: DELETE FROM Products WHERE ProductID = 1;
EXTENSIVENESS/SCOPE OF MYSQL