SlideShare a Scribd company logo
CPD TECHNOLOGIESTM
-An ISO 9001: 2008 Certified
Email: Support@cpd-india.com
Add:- Block C-9/8, Sector -7, Rohini, Delhi 110085, India
What is SQL?
 SQL stands for Structured Query Language.
 Its main aim to store, access and mainpulate data in realtional database.
 SQL was developed at IBM company by Donald D. Chamberline and Reymond
F.Boyce. In early 1970s.
All relational database management system like MySQL, MS Access, Oracle and
SQL server use SQL as astandered database langauge.
SQL
MySQL ORACLE SQL Server
USES of SQL
• SQL is used to communicate with a database
• Used to perform task such as insert data,
update data in database.
• A tool to retrieve the required information
from database.
SQL Language Statement
›Clause: The clause are component of the statement
and queries.
›Expression: A combination of symbol and operators
that the database system evaluates to obtain a single data
value
›Queries: Queries are used to give command to server
to perform specific task.
What SQL can Do?
SQL
Create Read Update Delete
(DDL)
Command Description
CREATE Create a new table and a view of a table
ALTER Modify an existing database object, such as
table.
DROP Delete an entire table, a view of a table or other
object in database.
Data Manipulation Language (DML)
Command Description
SELECT Retrieve certain record from one or more table.
INSERT Create a record
UPDATE Modify records
DELETE Delete records
Data Control Language (DCL)
Command Description
GRANT Gives a privilege to user
REVOKE Take back privilege granted from user
SQL
Syntax
Select * from Student;
The above SQL Statement select all records in the “Student” table:
Name Program Enrollment Number
Harsha MCA 126901230
Deepak BCA 125689023
CREATE Statement
Create database databaseName;
Create table Student
(
Name varchar(20), //Name has varchar Datatype having size of 20 charecter
Program varchar(10),
Enrol_No int //Enrol_No has integer datatype
)
INSERT Statement
The following SQL statement insert data into student table.
Insert into
Student(Name, Program, Enrol_No)
values(‘Aman’, ‘B.Com’, 134567890);
DROP Statement
The following statement is used to drop Database and Table.
Drop database databaseName; //delete database
Drop table Student; //delete table from database
UPDATE Statement
Update Student
Set Name=‘Anamika’
Where Enrol_No= 126901230 //Condition
Want big impact?

More Related Content

What's hot (20)

PPT
MySQL
Gouthaman V
 
PDF
Enhanced Entity-Relationship (EER) Modeling
sontumax
 
PPT
MySQL ppt
AtharvaSawant10
 
PPSX
Introduction to .net framework
Arun Prasad
 
PPT
Introduction to structured query language (sql)
Sabana Maharjan
 
PPT
Introduction to-sql
BG Java EE Course
 
PPTX
Introduction to Oracle Database
puja_dhar
 
PPTX
Normalization
Salman Memon
 
PPTX
SQLite - Overview
Emanuele Bartolesi
 
PPT
Elmasri Navathe DBMS Unit-1 ppt
AbhinavPandey274499
 
PPTX
Introduction to SQL
Ehsan Hamzei
 
PPT
Normalization PRESENTATION
bit allahabad
 
PDF
Database Normalization
Arun Sharma
 
PPT
Nakov - .NET Framework Overview - English
Svetlin Nakov
 
PPTX
SQL
Vineeta Garg
 
PDF
Sql tutorial
Rumman Ansari
 
PPTX
Basic SQL and History
SomeshwarMoholkar
 
PDF
Create table
Nitesh Singh
 
PPT
Sql server T-sql basics ppt-3
Vibrant Technologies & Computers
 
Enhanced Entity-Relationship (EER) Modeling
sontumax
 
MySQL ppt
AtharvaSawant10
 
Introduction to .net framework
Arun Prasad
 
Introduction to structured query language (sql)
Sabana Maharjan
 
Introduction to-sql
BG Java EE Course
 
Introduction to Oracle Database
puja_dhar
 
Normalization
Salman Memon
 
SQLite - Overview
Emanuele Bartolesi
 
Elmasri Navathe DBMS Unit-1 ppt
AbhinavPandey274499
 
Introduction to SQL
Ehsan Hamzei
 
Normalization PRESENTATION
bit allahabad
 
Database Normalization
Arun Sharma
 
Nakov - .NET Framework Overview - English
Svetlin Nakov
 
Sql tutorial
Rumman Ansari
 
Basic SQL and History
SomeshwarMoholkar
 
Create table
Nitesh Singh
 
Sql server T-sql basics ppt-3
Vibrant Technologies & Computers
 

Viewers also liked (6)

PPTX
Hibernate
CPD INDIA
 
PPTX
Sql - Structured Query Language
Wan Hussain Wan Ishak
 
PPT
Oops concepts in php
CPD INDIA
 
PPT
Collection Framework in java
CPD INDIA
 
PPTX
oops concept in java | object oriented programming in java
CPD INDIA
 
PPT
DBMS an Example
Dr. C.V. Suresh Babu
 
Hibernate
CPD INDIA
 
Sql - Structured Query Language
Wan Hussain Wan Ishak
 
Oops concepts in php
CPD INDIA
 
Collection Framework in java
CPD INDIA
 
oops concept in java | object oriented programming in java
CPD INDIA
 
DBMS an Example
Dr. C.V. Suresh Babu
 
Ad

Similar to What is SQL Server? (20)

PPTX
lovely
love0323
 
PPTX
SQL commands in database managemant systems
pmselvaraj
 
PPTX
Structured query language
Rashid Ansari
 
PPTX
Introduction to SQl Commands.pptxhhjhvvb
DeepakSingh99214
 
PPTX
Introduction to Database SQL & PL/SQL
Collaboration Technologies
 
PPTX
Chapter Seven- JDBC.pptx
BlenKassahun1
 
PPTX
introduction to SQL query language beginner.ppt
PatriceRochon1
 
PDF
SQL & Adv SQL - Basics and Advanced for Beginners
lohithvermait
 
PPTX
Lab
neelam_rawat
 
PDF
Introduction to the Structured Query Language SQL
Harmony Kwawu
 
PDF
Oracle SQL Part1
Gurpreet singh
 
PPT
SQL Server 2000 Research Series - Essential Knowledge
Jerry Yang
 
PPTX
Database Management System (DBMS).pptx
GevitaChinnaiah
 
PDF
Database Systems - Introduction to SQL (Chapter 3/1)
Vidyasagar Mundroy
 
PPTX
Introduction to Structured Query Language
agrawalmonikacomp
 
PPTX
Sql database development part 1
Sqlperfomance
 
PPTX
DBMS week 2 hjghg hvgfhgf,3 BSCS 6th.pptx
universalcomputer1
 
PPT
Sql Commands_Dr.R.Shalini.ppt
DrRShaliniVISTAS
 
PPTX
My lablkxjlkxjcvlxkcjvlxckjvlxck ppt.pptx
EliasPetros
 
lovely
love0323
 
SQL commands in database managemant systems
pmselvaraj
 
Structured query language
Rashid Ansari
 
Introduction to SQl Commands.pptxhhjhvvb
DeepakSingh99214
 
Introduction to Database SQL & PL/SQL
Collaboration Technologies
 
Chapter Seven- JDBC.pptx
BlenKassahun1
 
introduction to SQL query language beginner.ppt
PatriceRochon1
 
SQL & Adv SQL - Basics and Advanced for Beginners
lohithvermait
 
Introduction to the Structured Query Language SQL
Harmony Kwawu
 
Oracle SQL Part1
Gurpreet singh
 
SQL Server 2000 Research Series - Essential Knowledge
Jerry Yang
 
Database Management System (DBMS).pptx
GevitaChinnaiah
 
Database Systems - Introduction to SQL (Chapter 3/1)
Vidyasagar Mundroy
 
Introduction to Structured Query Language
agrawalmonikacomp
 
Sql database development part 1
Sqlperfomance
 
DBMS week 2 hjghg hvgfhgf,3 BSCS 6th.pptx
universalcomputer1
 
Sql Commands_Dr.R.Shalini.ppt
DrRShaliniVISTAS
 
My lablkxjlkxjcvlxkcjvlxckjvlxck ppt.pptx
EliasPetros
 
Ad

Recently uploaded (20)

PPTX
Introduction to Probability(basic) .pptx
purohitanuj034
 
PPT
DRUGS USED IN THERAPY OF SHOCK, Shock Therapy, Treatment or management of shock
Rajshri Ghogare
 
PPTX
Dakar Framework Education For All- 2000(Act)
santoshmohalik1
 
DOCX
pgdei-UNIT -V Neurological Disorders & developmental disabilities
JELLA VISHNU DURGA PRASAD
 
PDF
Module 2: Public Health History [Tutorial Slides]
JonathanHallett4
 
PDF
Virat Kohli- the Pride of Indian cricket
kushpar147
 
PPTX
YSPH VMOC Special Report - Measles Outbreak Southwest US 7-20-2025.pptx
Yale School of Public Health - The Virtual Medical Operations Center (VMOC)
 
PPTX
Applied-Statistics-1.pptx hardiba zalaaa
hardizala899
 
PPTX
Python-Application-in-Drug-Design by R D Jawarkar.pptx
Rahul Jawarkar
 
PPTX
Unlock the Power of Cursor AI: MuleSoft Integrations
Veera Pallapu
 
PPTX
LDP-2 UNIT 4 Presentation for practical.pptx
abhaypanchal2525
 
PPTX
I INCLUDED THIS TOPIC IS INTELLIGENCE DEFINITION, MEANING, INDIVIDUAL DIFFERE...
parmarjuli1412
 
PDF
EXCRETION-STRUCTURE OF NEPHRON,URINE FORMATION
raviralanaresh2
 
PPTX
Introduction to pediatric nursing in 5th Sem..pptx
AneetaSharma15
 
PPTX
How to Track Skills & Contracts Using Odoo 18 Employee
Celine George
 
DOCX
Unit 5: Speech-language and swallowing disorders
JELLA VISHNU DURGA PRASAD
 
PPTX
CONCEPT OF CHILD CARE. pptx
AneetaSharma15
 
DOCX
Modul Ajar Deep Learning Bahasa Inggris Kelas 11 Terbaru 2025
wahyurestu63
 
PDF
Antianginal agents, Definition, Classification, MOA.pdf
Prerana Jadhav
 
PPTX
Gupta Art & Architecture Temple and Sculptures.pptx
Virag Sontakke
 
Introduction to Probability(basic) .pptx
purohitanuj034
 
DRUGS USED IN THERAPY OF SHOCK, Shock Therapy, Treatment or management of shock
Rajshri Ghogare
 
Dakar Framework Education For All- 2000(Act)
santoshmohalik1
 
pgdei-UNIT -V Neurological Disorders & developmental disabilities
JELLA VISHNU DURGA PRASAD
 
Module 2: Public Health History [Tutorial Slides]
JonathanHallett4
 
Virat Kohli- the Pride of Indian cricket
kushpar147
 
YSPH VMOC Special Report - Measles Outbreak Southwest US 7-20-2025.pptx
Yale School of Public Health - The Virtual Medical Operations Center (VMOC)
 
Applied-Statistics-1.pptx hardiba zalaaa
hardizala899
 
Python-Application-in-Drug-Design by R D Jawarkar.pptx
Rahul Jawarkar
 
Unlock the Power of Cursor AI: MuleSoft Integrations
Veera Pallapu
 
LDP-2 UNIT 4 Presentation for practical.pptx
abhaypanchal2525
 
I INCLUDED THIS TOPIC IS INTELLIGENCE DEFINITION, MEANING, INDIVIDUAL DIFFERE...
parmarjuli1412
 
EXCRETION-STRUCTURE OF NEPHRON,URINE FORMATION
raviralanaresh2
 
Introduction to pediatric nursing in 5th Sem..pptx
AneetaSharma15
 
How to Track Skills & Contracts Using Odoo 18 Employee
Celine George
 
Unit 5: Speech-language and swallowing disorders
JELLA VISHNU DURGA PRASAD
 
CONCEPT OF CHILD CARE. pptx
AneetaSharma15
 
Modul Ajar Deep Learning Bahasa Inggris Kelas 11 Terbaru 2025
wahyurestu63
 
Antianginal agents, Definition, Classification, MOA.pdf
Prerana Jadhav
 
Gupta Art & Architecture Temple and Sculptures.pptx
Virag Sontakke
 

What is SQL Server?

  • 1. CPD TECHNOLOGIESTM -An ISO 9001: 2008 Certified Email: [email protected] Add:- Block C-9/8, Sector -7, Rohini, Delhi 110085, India
  • 2. What is SQL?  SQL stands for Structured Query Language.  Its main aim to store, access and mainpulate data in realtional database.  SQL was developed at IBM company by Donald D. Chamberline and Reymond F.Boyce. In early 1970s. All relational database management system like MySQL, MS Access, Oracle and SQL server use SQL as astandered database langauge.
  • 4. USES of SQL • SQL is used to communicate with a database • Used to perform task such as insert data, update data in database. • A tool to retrieve the required information from database.
  • 5. SQL Language Statement ›Clause: The clause are component of the statement and queries. ›Expression: A combination of symbol and operators that the database system evaluates to obtain a single data value ›Queries: Queries are used to give command to server to perform specific task.
  • 6. What SQL can Do? SQL Create Read Update Delete
  • 7. (DDL) Command Description CREATE Create a new table and a view of a table ALTER Modify an existing database object, such as table. DROP Delete an entire table, a view of a table or other object in database.
  • 8. Data Manipulation Language (DML) Command Description SELECT Retrieve certain record from one or more table. INSERT Create a record UPDATE Modify records DELETE Delete records
  • 9. Data Control Language (DCL) Command Description GRANT Gives a privilege to user REVOKE Take back privilege granted from user
  • 10. SQL Syntax Select * from Student; The above SQL Statement select all records in the “Student” table: Name Program Enrollment Number Harsha MCA 126901230 Deepak BCA 125689023
  • 11. CREATE Statement Create database databaseName; Create table Student ( Name varchar(20), //Name has varchar Datatype having size of 20 charecter Program varchar(10), Enrol_No int //Enrol_No has integer datatype )
  • 12. INSERT Statement The following SQL statement insert data into student table. Insert into Student(Name, Program, Enrol_No) values(‘Aman’, ‘B.Com’, 134567890);
  • 13. DROP Statement The following statement is used to drop Database and Table. Drop database databaseName; //delete database Drop table Student; //delete table from database
  • 14. UPDATE Statement Update Student Set Name=‘Anamika’ Where Enrol_No= 126901230 //Condition