MySql Introduction

Download as pdf or txt
Download as pdf or txt
You are on page 1of 8

CONTENTS

( LEARNING OUTCOMES )
 STRUCTURED QUERY LANGUAGE
 Introducing SQL
 Key Features of SQL
 About MySQL
 Classification of SQL commands
 DDL Vs DML commands
Introducing SQL
The Structured Query Language(SQL) is
a language that enables you to create
and operate on relational databases,
which are sets of related information
stored in tables.
SQL is the standard relational
database language.
Key Features of SQL
 Client/Server environment  Convertibility
 Large database and space  Very fast with ease of use
management  Openness, Industry standard
 High Availability , free of cost  Manageable Security
 Portability  Many concurrent database
 Compatibility users

CLIENT-SERVER ARCHITECTURE

CLIENT
1.
SERVER

Database
2.
About MySQL www.mysql.org

 Freely available open source Relational Database


Management System (RDBMS) which is built on the SQL
language.
 MySQL is rich in variety of features which support a
secured environment for storing,maintaining and
accessing data.
 Fast,reliable,scalable.
 A single table developed using MySQL can contain
thousands of tables and each table can hold thousands
of records. Amazing!!!! Right!!!

 Chief Inventor- Michael Widenius (a.k.a.Monty)


 MySQL name is after Monty’s daughter “My”.
CLASSIFICATION OF SQL COMMANDS
Processing capabilities of SQL
 Data Definition Language (DDL) commands
(CREATE, ALTER, DROP, RENAME,TRUNCATE,COMMENT)

 Data Control Language (DCL) commands


(GRANT, REVOKE)

 Data Manipulation Language (DML) commands


(INSERT, UPDATE, DELETE, SELECT)

 Transaction Control Language (TCL) commands


(COMMIT, ROLLBACK, SAVEPOINT,SET TRANSACTION)

 Session Control Language commands


(ALTER SESSION,SET ROLL)

 System Control Language commands


SQL commands to learn………
DDL DML
DDL stands for data definition DML stands for Data
language. It is component Manipulation Language is a
language of SQL, that provides special language to manipulate
commands for defining data using a set of procedures.
various database objects.
Eg. Create,Alter,Drop Eg. Insert,Delete,Update,Select
It provides statements to enter,
It provides statements for the
update, delete data and
creation and deletion of tables,
perform complex queries on
indexes, views and adding or
these table.
modifying new field in a table.

Data Dictionary
It is the file that stores data about data i.e. it stores the metadata.

You might also like