0% found this document useful (0 votes)
3 views10 pages

Dark Blue and White Simple Thesis Defense Presentation

MySQL is a free and open-source Relational Database Management System developed by Oracle that uses Structured Query Language (SQL) for data manipulation. It allows users to create databases and tables, insert data, and retrieve information using commands like SELECT, while emphasizing the importance of database design practices such as indexing and normalization for efficiency. MySQL is widely utilized in various applications and can be managed through both command-line and graphical interfaces like MySQL Workbench.

Uploaded by

gorayaahmad358
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
3 views10 pages

Dark Blue and White Simple Thesis Defense Presentation

MySQL is a free and open-source Relational Database Management System developed by Oracle that uses Structured Query Language (SQL) for data manipulation. It allows users to create databases and tables, insert data, and retrieve information using commands like SELECT, while emphasizing the importance of database design practices such as indexing and normalization for efficiency. MySQL is widely utilized in various applications and can be managed through both command-line and graphical interfaces like MySQL Workbench.

Uploaded by

gorayaahmad358
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 10

DBMS TOOL

INTRODUCTION (MY
SQL) , DATABASE
CREATION,DATABASE
PHYSICAL DESIGN
Presented by
M.KASHIF
SAMRA
AMNA ILYAS
WHAT IS SQL?
MySQL is a Relational Database Management
System (RDBMS) developed by Oracle. It stores
data in tables and allows manipulation using
Structured Query Language (SQL). MySQL is free,
reliable, and widely used in websites, apps, and
business tools. It works with command-line (CLI)
and GUI tools like MySQL Workbench.
FEATURES OF
MYSQL
• It is free and open-source
• Works on Windows, Mac, and Linux
• Can handle large amounts of data
• Safe and secure with user permissions
• Fast and supports different data types like numbers,
text, and dates
• Used in apps like WordPress, Facebook, etc.
CREATING A
DATABASE
In MySQL Workbench:
• Click “+” in Schemas
sql:

CREATE DATABASE school;


• Name your database and click USE school;

Apply
• Now your database is ready to
add tables and data.
MAKING TABLES IN MYSQL
sql:

Each table has columns (like


CREATE TABLE students ( name, age) and rows (data
id INT , entries).
name VARCHAR(100), Tables are like Excel sheets with
age INT
headings and data.
);
INSERTING DATA IN TABLES

sql:
This adds one student to the
table.
INSERT INTO students (id, name, age)
You can add as many rows as VALUES (1, 'Ali', 18);
you want by changing the values.
GETTING DATA FROM TABLE
(SELECT)
sql:
sql:

Lorem ipsum dolor sit


SELECT
amet, name FROM students
consectetur
SELECT * FROM students; WHERE
adipisicing elit,age
sed=do
18;
• Where “SELECT” is the keyword for eiusmod tempor
selecting. incididunt ut labore et
• The symbol * is used for selecting dolore magna aliqua.
all data .
• “FROM” is also a keyword which
fetch data from a given table.
• Where students is the given table.
• “WHERE” is a clause used for any
condition
PHYSICAL DESIGN OF sql:

DATABASE CREATE TABLE students (


id INT PRIMARY KEY,
1.Choose right engine: name VARCHAR(100),
Use InnoDB for safety and speed age TINYINT
) ENGINE=InnoDB;
2.Use indexes:
It makes searching fast like a book mark in BOOK
3. Use TINYINT instead of INT for small numbers (like
age) .
This saves memory and makes the database fast.
4.Split large tables (partitioning): sql:
Helps manage very large data like logs or history.
example: PARTITION BY RANGE (YEAR(date)) CREATE INDEX idx_name ON
5.Avoid repeating data (normalization): students(name);
Keep related data in separate tables.
ALTER TABLE students ADD
example: Instead of writing teacher name in every
teacher_id INT;
row,
use a separate teacher_id and link to a student
SUMMARY & TIPS

• MySQL is a free tool to store and manage data


• You can create databases, tables, and insert data easily
• Use SELECT to get data and DELETE/UPDATE to manage it
• Use indexes, correct data types, and normalization for
speed
• Always backup your data
• Use MySQL Workbench if you don’t like typing commands
ANY
QUESTION
?

You might also like