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

diff b/w function and procedure?

9 Answers   iFlex,


Explain the difference in execution of triggers and stored procedures?

0 Answers  


What is data definition language?

0 Answers  


What are the subsets of sql?

0 Answers  


Its possible to add more than one primary key for the table

4 Answers  






Explain what is a view?

0 Answers  


How do you respond to dementia behavior?

0 Answers  


what is the difference between char and varchar data types? : Sql dba

0 Answers  


What is the best partition size for windows 10?

0 Answers  


What trigger means?

0 Answers  


What is memory optimized?

0 Answers  


How do I view tables in sql developer?

0 Answers  


Categories