Types of SQL Commands : A Thread

👇👇👇

Do check and Retweet if it is helpful

#kaliyona #sql #teamkaliyona #sqlcommands #database #oracle
There are 5 types of SQL Commands
1. DDL: Data Definition Language
2. DQL: Data Query Language
3. DML: Data Manipulation Language
4. DCL: Data Control Language
5. TCL: Transaction Control Language

(1/n)
#sql #kaliyona
DDL commands are used to define the Database (DB) objects.
CREATE: Used to Create DB Objects.
DROP: Used to Delete DB Objects.
ALTER: Used to alter the structure of DB Objects.
RENAME: Used to Rename existing object.
TRUNCATE: Used to Remove all the records from a table.

(2/n)
DQL commands are used to retrieve data from the database.

SELECT : Used to read data from the database.

(3/n)

#sql #kaliyona
DML commands are used in manipulation of data in the database.

INSERT : Used to insert data into a table.
UPDATE : Used to update existing data within a table.
DELETE : Used to delete records from a table.
MERGE : Used to UPSERT (Update/Insert) records in/into a table.
(4/n)
DCL commands are used to control permissions on the database objects.

GRANT : Used to give user access privilege to the database object.
REVOKE : Used to withdraw user access privilege to the database object.

(5/n)

#sql #kaliyona
TCL commands are used to manage changes made by DML commands.
COMMIT: Used to commit a transaction (tx).
ROLLBACK: Used to rollback a tx in case of errors.
SAVEPOINT: Used to set a save point within a tx.
SET TRANSACTION: Used to specify characteristics of a tx.
(6/n)
#sql
Hope this thread was useful to learn some basic type of SQL Commands.

Do follow @teamkaliyona for much such technical content and Retweet so that it can help others.

We do offer lot of courses for free or affordable prices, do check and get benefited
Follow our Kaliyona YouTube Channel for more free content

youtube.com/kaliyona

• • •

Missing some Tweet in this thread? You can try to force a refresh
 

Keep Current with Kaliyona - ಕಲಿಯೋಣ

Kaliyona - ಕಲಿಯೋಣ Profile picture

Stay in touch and get notified when new unrolls are available from this author!

Read all threads

This Thread may be Removed Anytime!

PDF

Twitter may remove this content at anytime! Save it as PDF for later use!

Try unrolling a thread yourself!

how to unroll video
  1. Follow @ThreadReaderApp to mention us!

  2. From a Twitter thread mention us with a keyword "unroll"
@threadreaderapp unroll

Practice here first or read more on our help page!

Did Thread Reader help you today?

Support us! We are indie developers!


This site is made by just two indie developers on a laptop doing marketing, support and development! Read more about the story.

Become a Premium Member ($3/month or $30/year) and get exclusive features!

Become Premium

Don't want to be a Premium member but still want to support us?

Make a small donation by buying us coffee ($5) or help with server cost ($10)

Donate via Paypal

Or Donate anonymously using crypto!

Ethereum

0xfe58350B80634f60Fa6Dc149a72b4DFbc17D341E copy

Bitcoin

3ATGMxNzCUFzxpMCHL5sWSt4DVtS8UqXpi copy

Thank you for your support!

Follow Us on Twitter!

:(