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

PPTX
Chapter 1 introduction to sql server
PPTX
Basic SQL and History
PPTX
Mysql Crud, Php Mysql, php, sql
PPTX
introdution to SQL and SQL functions
PPTX
Group By, Order By, and Aliases in SQL
PPT
Mysql
PPTX
Sql queries presentation
PPTX
SQL Basics
Chapter 1 introduction to sql server
Basic SQL and History
Mysql Crud, Php Mysql, php, sql
introdution to SQL and SQL functions
Group By, Order By, and Aliases in SQL
Mysql
Sql queries presentation
SQL Basics

What's hot (20)

PPTX
SQL(DDL & DML)
PPTX
SQL commands
PPTX
Database Management - Lecture 2 - SQL select, insert, update and delete
PPT
Oops in Java
PPTX
Presentation slides of Sequence Query Language (SQL)
PPT
Core java concepts
PPTX
SQL JOIN
PPTX
Unit 4 plsql
PPT
1 - Introduction to PL/SQL
PPTX
Data Manipulation Language
PDF
Oracle SQL Basics
PPTX
SQL Joins.pptx
PPTX
Introduction to SQL
PPTX
Sql - Structured Query Language
PPTX
5. stored procedure and functions
PPTX
Sql Constraints
PPT
SQL Queries
PPTX
SQL - DML and DDL Commands
SQL(DDL & DML)
SQL commands
Database Management - Lecture 2 - SQL select, insert, update and delete
Oops in Java
Presentation slides of Sequence Query Language (SQL)
Core java concepts
SQL JOIN
Unit 4 plsql
1 - Introduction to PL/SQL
Data Manipulation Language
Oracle SQL Basics
SQL Joins.pptx
Introduction to SQL
Sql - Structured Query Language
5. stored procedure and functions
Sql Constraints
SQL Queries
SQL - DML and DDL Commands
Ad

Similar to What is SQL Server? (20)

PDF
SQL_NOTES.pdf
PPTX
An intoduction to sql and its components
PPTX
lovely
PPTX
Using Basic Structured Query Language lo1.pptx
PPTX
Unit - II.pptx
PPTX
Himani uppal-221302130 WP ppt.pptx
PPTX
My lablkxjlkxjcvlxkcjvlxckjvlxck ppt.pptx
PDF
Database management system unit 1 Bca 2-semester notes
PDF
SQL Basics, DDL, DML, DQL, Learn The BAsics Of SQL.pdf
PPTX
Relational Database Language.pptx
PDF
sql notes Provideby AGN HUB Tech & It Solutions
PPTX
database language ppt.pptx
PDF
Structures query language ___PPT (1).pdf
PPTX
Structured Query Language
PPTX
Lecture - MY-SQL/ SQL Commands - DDL.pptx
PPTX
SQL Training Institute in Ambala ! Batra Computer Centre
DOC
Oracle sql material
PDF
STRUCTURED QUERY LANGUAGE
PPTX
Data Ware Housing through SQL concept
PDF
Sql smart reference_by_prasad
SQL_NOTES.pdf
An intoduction to sql and its components
lovely
Using Basic Structured Query Language lo1.pptx
Unit - II.pptx
Himani uppal-221302130 WP ppt.pptx
My lablkxjlkxjcvlxkcjvlxckjvlxck ppt.pptx
Database management system unit 1 Bca 2-semester notes
SQL Basics, DDL, DML, DQL, Learn The BAsics Of SQL.pdf
Relational Database Language.pptx
sql notes Provideby AGN HUB Tech & It Solutions
database language ppt.pptx
Structures query language ___PPT (1).pdf
Structured Query Language
Lecture - MY-SQL/ SQL Commands - DDL.pptx
SQL Training Institute in Ambala ! Batra Computer Centre
Oracle sql material
STRUCTURED QUERY LANGUAGE
Data Ware Housing through SQL concept
Sql smart reference_by_prasad
Ad

Recently uploaded (20)

PDF
The Lost Whites of Pakistan by Jahanzaib Mughal.pdf
PDF
Module 4: Burden of Disease Tutorial Slides S2 2025
PDF
GENETICS IN BIOLOGY IN SECONDARY LEVEL FORM 3
PDF
Trump Administration's workforce development strategy
PPTX
Cell Structure & Organelles in detailed.
PDF
Supply Chain Operations Speaking Notes -ICLT Program
PPTX
PPT- ENG7_QUARTER1_LESSON1_WEEK1. IMAGERY -DESCRIPTIONS pptx.pptx
PDF
Chapter 2 Heredity, Prenatal Development, and Birth.pdf
PPTX
1st Inaugural Professorial Lecture held on 19th February 2020 (Governance and...
PDF
Classroom Observation Tools for Teachers
PDF
Anesthesia in Laparoscopic Surgery in India
PDF
Weekly quiz Compilation Jan -July 25.pdf
PDF
01-Introduction-to-Information-Management.pdf
PPTX
Final Presentation General Medicine 03-08-2024.pptx
PDF
Computing-Curriculum for Schools in Ghana
PPTX
Lesson notes of climatology university.
PPTX
Cell Types and Its function , kingdom of life
PDF
Yogi Goddess Pres Conference Studio Updates
PDF
Chinmaya Tiranga quiz Grand Finale.pdf
PDF
ChatGPT for Dummies - Pam Baker Ccesa007.pdf
The Lost Whites of Pakistan by Jahanzaib Mughal.pdf
Module 4: Burden of Disease Tutorial Slides S2 2025
GENETICS IN BIOLOGY IN SECONDARY LEVEL FORM 3
Trump Administration's workforce development strategy
Cell Structure & Organelles in detailed.
Supply Chain Operations Speaking Notes -ICLT Program
PPT- ENG7_QUARTER1_LESSON1_WEEK1. IMAGERY -DESCRIPTIONS pptx.pptx
Chapter 2 Heredity, Prenatal Development, and Birth.pdf
1st Inaugural Professorial Lecture held on 19th February 2020 (Governance and...
Classroom Observation Tools for Teachers
Anesthesia in Laparoscopic Surgery in India
Weekly quiz Compilation Jan -July 25.pdf
01-Introduction-to-Information-Management.pdf
Final Presentation General Medicine 03-08-2024.pptx
Computing-Curriculum for Schools in Ghana
Lesson notes of climatology university.
Cell Types and Its function , kingdom of life
Yogi Goddess Pres Conference Studio Updates
Chinmaya Tiranga quiz Grand Finale.pdf
ChatGPT for Dummies - Pam Baker Ccesa007.pdf

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