Lecture 29 - SQL Commands
Lecture 29 - SQL Commands
BCA II
Sql Commands
Structured Query Language (SQL) as we all know is the database language by the
use of which we can perform certain operations on the existing database and also we
can use this language to create a database.
The standard SQL commands to interact with relational databases are CREATE,
SELECT, INSERT, UPDATE, DELETE and DROP. These commands can be classified
into groups based on their nature:
These SQL commands are mainly categorized into four categories as:
1. DDL – Data Definition Language
2. DML – Data Manipulation Language
3. DCL – Data Control Language
4. DQL – Data Query Language
Command Description
Modifies an existing
ALTER database object, such as a
table.
Command
Description
INSERT
Creates a record
UPDATE
Modifies records
DELETE
Deletes records
Command Description
Command Description
Command Description
COMMIT
Commits a Transaction
Rollbacks a transaction in case
ROLLBACK
of any error occurs
References:
TUTORIALS POINT Simply Easy Learning pdf from tutorialspoint.com
https://www.geeksforgeeks.org/sql-ddl-dql-dml-dcl-tcl-commands/
https://beginnersbook.com/2015/04/dbms-languages/