---
title: "What are the different types of Sql Statement?"  
description: "What are the different types of Sql Statement?"  
author: "Manish Kumar"  
published: 2017-05-04  
updated: 2020-09-20  
canonical: https://www.mindstick.com/interview/23236/what-are-the-different-types-of-sql-statement  
category: "database"  
tags: ["sql server"]  
reading_time: 1 minute  

---

# What are the different types of Sql Statement?

**Sql statement are categoriesed into three types**

**DDL-**Data definition language is use define the structure of database which holds the content or data.

Mainly it is used to define the structure that holds the data Example of DDL is Create,Alter,Drop and truncate.

**DML-**Data manipulation language is used to retrieve,store,modify,delete,insert and update data in database. Its operation is select,Update,Insert

**DCL-**Data Control Language is used to create roles, permission.It is used to control access to database by securing it.

## Answers

### Answer by Manish Kumar

**Sql statement are categoriesed into three types**

**DDL-**Data definition language is use define the structure of database which holds the content or data.

Mainly it is used to define the structure that holds the data Example of DDL is Create,Alter,Drop and truncate.

**DML-**Data manipulation language is used to retrieve,store,modify,delete,insert and update data in database. Its operation is select,Update,Insert

**DCL-**Data Control Language is used to create roles, permission.It is used to control access to database by securing it.


---

Original Source: https://www.mindstick.com/interview/23236/what-are-the-different-types-of-sql-statement

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
