Day 1 - Introduction To MySQL
Day 1 - 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
Object-Oriented NoSQL
Databases Databases
Relational Database Management System (RDBMS)
• RDBMS is the basis for all modern database systems such as MySQL, Microsoft SQL Server, Oracle, and Microsoft
Access.
• 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.
✔ 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.
https://dev.mysql.com/downloads/windows/installer/8.0.html