0% found this document useful (0 votes)
181 views

Day 1 - Introduction To MySQL

This document provides an introduction to MySQL, including what it is, its features, and how it relates to databases and database management systems. Specifically: - MySQL is an open-source relational database management system commonly used with PHP for building dynamic web applications. - A database stores organized data that can be accessed and managed easily by users. A database management system provides standard methods for storing, organizing, accessing, and searching database data. - Normalization is the process of structuring data to minimize redundancy and avoid data anomalies by dividing tables and linking them through relationships. It involves placing data into tables and defining relationships between the tables.

Uploaded by

Ankush Pawar
Copyright
© © All Rights Reserved
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
181 views

Day 1 - Introduction To MySQL

This document provides an introduction to MySQL, including what it is, its features, and how it relates to databases and database management systems. Specifically: - MySQL is an open-source relational database management system commonly used with PHP for building dynamic web applications. - A database stores organized data that can be accessed and managed easily by users. A database management system provides standard methods for storing, organizing, accessing, and searching database data. - Normalization is the process of structuring data to minimize redundancy and avoid data anomalies by dividing tables and linking them through relationships. It involves placing data into tables and defining relationships between the tables.

Uploaded by

Ankush Pawar
Copyright
© © All Rights Reserved
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 11

Introduction to MySQL

Introduction to Databases
• It is very important to understand the database before learning MySQL.

• A database is an application that stores the organized collection of records. It can be accessed and manage by the
user very easily.

• It allows us to organize data into tables, rows, columns, and indexes to find the relevant information very quickly.

• Each database contains distinct API for performing database operations such as creating, managing, accessing, and
searching the data it stores.
What is MySQL ?
• MySQL is one of the most popular database management system software used for managing the relational
database.

• It is open-source database software, which is supported by Oracle Company. It is fast, scalable, and easy to use
database management system in comparison with Microsoft SQL Server and Oracle Database.

• It is commonly used in conjunction with PHP scripts for creating powerful and dynamic server-side or web-based
enterprise applications.

Features

Easy to Use Secure Open Source Scalable Reliable


Database Management System (DBMS)
• A database is a collection of data or records.
Types
Database management systems are designed to
manage databases.

• A database management system (DBMS) is a Hierarchical Graph


Databases Databases
software system that uses a standard method to
store and organize data.
Network ER Model
• The data can be added, updated, deleted, or Databases Databases
traversed using various standard algorithms and
queries. Relational Document
Databases Databases

Object-Oriented NoSQL
Databases Databases
Relational Database Management System (RDBMS)

• RDBMS stands for Relational Database Management System.

• RDBMS is a program used to maintain a relational database.

• RDBMS is the basis for all modern database systems such as MySQL, Microsoft SQL Server, Oracle, and Microsoft
Access.

• RDBMS uses SQL queries to access the data in the database.


Relational Database Management System (RDBMS)
• RDBMS stands for Relational Database Management System and it is a program used to maintain a relational
database.

• RDBMS is the basis for all modern database systems such as MySQL, Microsoft SQL Server, Oracle, and Microsoft
Access. It uses SQL queries to access the data in the database.

Table in Database

Rows/Records/Tuples Columns/Fields/Attributes
Normalization
❖ Normalization is the process of organizing the data in the database.

❖ Normalization is used to minimize the redundancy from a relation or set of relations. It is also used to eliminate
undesirable characteristics like Insertion, Update, and Deletion Anomalies.

❖ Normalization divides the larger table into smaller and links them using relationships.

❖ The normal form is used to reduce redundancy from the database table.

Why do we need Normalization?

✔ The main reason for normalizing the relations is removing these anomalies.

✔ Failure to eliminate anomalies leads to data redundancy and can cause data integrity and other problems as the
database grows.

✔ Normalization consists of a series of guidelines that helps to guide you in creating a good database structure.
Normalisation Forms
• Each table cell should contain a single value.
1 NF
• Each record needs to be unique.

1st Normal form


Normalisation Forms
• The table has to be in 1 NF.
2 NF • Each column should be directly related to the primary key, and not to other
columns.

2nd Normal form


Normalisation Forms
• Be in 2NF
3 NF
• Has no transitive functional dependencies
Software Installation

https://dev.mysql.com/downloads/windows/installer/8.0.html

You might also like