What are the types of SQL Statement?

Answers were Sorted based on User's Feedback



What are the types of SQL Statement?..

Answer / swapnareddy

Type of sql statments are:
DDL:Data Defintion Language:create,alter,drop,truncate & rename
DML:Data Manipulation Language:insert,update,delete & merge
DRL/DQL:Data retrive/query Language:select
DCL:Data Contol Language:grant,revoke
DTL:Data Transition Language:commit,savepoint & rollback

Is This Answer Correct ?    55 Yes 9 No

What are the types of SQL Statement?..

Answer / sam kolta

SQL statements are classified into 6 categories:
1. Data Definition Language (DDL) Statements are:
- ALTER
- ANALYZE
- ASSOCIATE STATISTICS
- AUDIT
- COMMENT
- CREATE
- DISASSOCIATE STATISTICS
- DROP
- FLASHBACK
- GRANT
- NOAUDIT
- PURGE
- RENAME
- REVOKE
- TRUNCATE
- UNDROP
2. Data Manipulation Language (DML) statements are:
- CALL
- DELETE
- EXPLAIN PLAN
- INSERT
- LOCK TABLE
- MERGE
- SELECT
- UPDATE
3. Transaction Control Language (TCL) statements are:
- COMMIT
- ROLLBACK
- SAVEPOINT
- SET TRANSACTION
4. Session Control Language (SSCL) statements are:
- ALTER SESSION
- SET ROLE
5. System Control Language (SCL) Statements are:
- ALTER SYSTEM

6. EMBEDED SQL STATEMENTS

Is This Answer Correct ?    26 Yes 9 No

What are the types of SQL Statement?..

Answer / anil_abbireddy

DDL :data definition language
DML :data manuplation language
DCL :data control language
TCL :transaction control language
SCL :session control language

Is This Answer Correct ?    22 Yes 15 No

Post New Answer

More SQL PLSQL Interview Questions

What are the properties of a transaction?

0 Answers  


Explain the savepoint statement.

0 Answers  


Can we join 3 tables in sql?

0 Answers  


What is over () in sql?

0 Answers  


Is sql between inclusive?

0 Answers  






What does bitemporal mean?

0 Answers  


When the mutating error will comes? and how it will be resolved?

2 Answers  


what is mean by forward declaration and where we'll use it.

4 Answers   TCS,


how to give permission to users that users can update/insert/delete on a row of table on timeing 10am to 6pm only?

4 Answers   TCS,


Is ms sql is free?

0 Answers  


Is sql database free?

0 Answers  


What is sql integrity?

0 Answers  


Categories