6/17/2021 Learn SQL Tutorial - javatpoint
https://www.javatpoint.com/sql-tutorial 1/7
6/17/2021 Learn SQL Tutorial - javatpoint
SQL Tutorial
SQL tutorial provides basic and advanced concepts of SQL. Our SQL tutorial is designed for beginners and
professionals.
SQL (Structured Query Language) is used to perform operations on the records stored in the database such
as updating records, deleting records, creating and modifying tables, views, etc.
SQL is just a query language; it is not a database. To perform SQL queries, you need to install any database,
for example, Oracle, MySQL, MongoDB, PostGre SQL, SQL Server, DB2, etc.
What is SQL
SQL stands for Structured Query Language.
It is designed for managing data in a relational database management system (RDBMS).
It is pronounced as S-Q-L or sometime See-Qwell.
SQL is a database language, it is used for database creation, deletion, fetching rows, and modifying
rows, etc.
SQL is based on relational algebra and tuple relational calculus.
All DBMS like MySQL, Oracle, MS Access, Sybase, Informix, PostgreSQL, and SQL Server use SQL as
standard database language.
Why SQL is required
SQL is required:
To create new databases, tables and views
To insert records in a database
https://www.javatpoint.com/sql-tutorial 2/7
6/17/2021 Learn SQL Tutorial - javatpoint
To update records in a database
To delete records from a database
To retrieve data from a database
What SQL does
With SQL, we can query our database in several ways, using English-like statements.
With SQL, a user can access data from a relational database management system.
It allows the user to describe the data.
It allows the user to define the data in the database and manipulate it when needed.
It allows the user to create and drop database and table.
It allows the user to create a view, stored procedure, function in a database.
It allows the user to set permission on tables, procedures, and views.
SQL
SQL Index
Index
SQL Tutorial SQL Select SQL Delete
Introduction to SQL SELECT Statement DELETE Statement
SQL Syntax SQL SELECT UNIQUE SQL DELETE TABLE
SQL Data Types SQL SELECT DISTINCT SQL DELETE ROW
SQL Operators SQL SELECT COUNT SQL DELETE All Rows
SQL SELECT TOP DELETE Duplicate Rows
SQL Database
SQL SELECT FIRST SQL DELETE DATABASE
SQL CREATE Database
SQL SELECT LAST SQL DELETE VIEW
SQL DROP Database
SQL SELECT RANDOM SQL DELETE JOIN
SQL RENAME Database
SQL SELECT AS
SQL Join
SQL SELECT Database
SQL SELECT IN
SQL JOIN
SQL Table SQL SELECT Multiple
SQL Outer Join
What is Table SQL SELECT DATE
SQL Left Join
SQL TABLE Variable SQL SELECT SUM
SQL Right Join
SQL SELECT NULL
https://www.javatpoint.com/sql-tutorial 3/7
6/17/2021 Learn SQL Tutorial - javatpoint
SQL CREATE TABLE SQL Full Join
SQL Clause
SQL DROP TABLE SQL Cross Join
SQL WHERE
SQL DELETE TABLE
SQL Keys
SQL AND
SQL RENAME TABLE
SQL OR Primary Key
SQL TRUNCATE TABLE
SQL WITH Foreign Key
SQL COPY TABLE
SQL AS Composite Key
SQL TEMP TABLE
Unique Key
SQL ALTER TABLE SQL Order By
Alternate Key
SQL Insert ORDER BY Clause
Difference
ORDER BY ASC
INSERT Statement
ORDER BY DESC SQL vs NoSQL
INSERT INTO Values
ORDER BY RANDOM PL/SQL Tutorial
INSERT INTO SELECT
ORDER BY LIMIT
INSERT Multiple Rows PL/SQL Tutorial
ORDER BY Multiple Cols
Interview
SQL Update
SQL Interview
UPDATE Statement
PL/SQL Interview
SQL UPDATE JOIN
Quiz
SQL UPDATE DATE
SQL Quiz
Next →
For Videos Join Our Youtube Channel: Join Now
https://www.javatpoint.com/sql-tutorial 4/7
6/17/2021 Learn SQL Tutorial - javatpoint
Feedback
Help Others, Please Share
Learn Latest Tutorials
SoapUI RPA Manual Testing Cucumber
Appium PostgreSQL Solr MongoDB
Verilog Tutorial Teradata PhoneGap
Tutorial Tutorial
Verilog
Teradata PhoneGap
Gimp
Preparation
Aptitude Logical Verbal Ability Interview
Reasoning Questions
Aptitude Verbal Ability
Reasoning Interview
Company
Interview
Questions
Company
https://www.javatpoint.com/sql-tutorial 5/7
6/17/2021 Learn SQL Tutorial - javatpoint
Trending Technologies
Artificial AWS Tutorial Selenium Cloud tutorial
Intelligence tutorial
AWS Cloud
Tutorial
Selenium
Artificial
Intelligence
Hadoop tutorial ReactJS Data Science Angular 7
Tutorial Tutorial Tutorial
Hadoop
ReactJS Data Science Angular 7
Blockchain Git Tutorial Machine DevOps
Tutorial Learning Tutorial Tutorial
Git
Blockchain Machine Learning DevOps
B.Tech / MCA
DBMS tutorial Data Structures DAA tutorial Operating
tutorial System tutorial
DBMS DAA
Data Structures Operating System
Computer Compiler Computer Discrete
Network tutorial Design tutorial Organization and Mathematics
Architecture Tutorial
Computer Network Compiler Design
Computer Discrete
Organization Mathematics
Ethical Hacking Computer Software html tutorial
Tutorial Graphics Tutorial Engineering
Web Tech.
Tutorial
Ethical Hacking Computer Graphics
Software
Engineering
https://www.javatpoint.com/sql-tutorial 6/7
6/17/2021 Learn SQL Tutorial - javatpoint
Cyber Security Automata C Language C++ tutorial
tutorial Tutorial tutorial
C++
Cyber Security Automata C
Java tutorial .Net Python tutorial List of
Framework Programs
Java Python
tutorial
Programs
.Net
Control Data Mining
Systems tutorial Tutorial
Control System Data Mining
https://www.javatpoint.com/sql-tutorial 7/7