What are the types of SQL Statement?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is 'mysqlimport'? : Sql dba

641


What is primary key secondary key alternate key candidate key?

651


Where is sql database stored?

601


Does sql backup shrink transaction log?

645


How do you define a foreign key?

623






Explain autonomous transaction.

714


What is the use of double ampersand (&&) in sql queries? Give an example

706


what is the functionality of the function htmlentities? : Sql dba

602


Why do we use sql constraints?

746


What is offset and limit in sql?

643


What is the difference between rename and alias?

835


Explain table and field in sql?

679


What is sql indexing?

657


Why use truncate instead of delete?

634


What are triggers and its uses?

685