What is the difference between SQL, DDL, and DML?

Answer Posted / pavan_1981

sql is a universally accepeted query language whic acts an
interface to the relational databases to fetch,insert and
manipulate the data existing in the database.
sql encompasses of five parts
1.Data Retrieval Language:the commands used to select data
from the database.this includes
a.select
2.Data manipulation Language:commands to manipulate the
data existing in the database.commands in this are
a.insert
b.update
c.delete
d.merge
3.Data Definition Language:commands to define and create
the database ojects like tables ,views etc.commands in this
are
a.create
b.truncate
c.alter
d.drop
e.describe
f.rename
4.Tranaction control Language:the commands in this are
a.grant
b.revoke
5.Data Control Language:the commands in this are
a.Commit
b.Rollback
c.Savepoint.

Is This Answer Correct ?    113 Yes 25 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is meant by a deadlock situation?

639


Explain the use of rows option in imp command.

653


What is an Oracle index?

1249


Other than making use of the statspack utility, what would you check when you are monitoring or running a health check on an Oracle 8i or 9i database?

1574


Give the constructs of a package, function or a procedure.

612






How to use like conditions in oracle?

627


How would you configure your networking files to connect to a database by the name of DSS which resides in domain icallinc.com?

1530


What are the different types of partitions in oracle?

563


What is the difference between a hot backup and a cold backup in oracle?

644


What happens to the indexes if a table is recovered?

628


What is meant by recursive hints in oracle?

686


What do you understand by a database object?

657


What are the set operators union, union all, minus & intersect meant to do?

624


how to code performance tuning of oracle PL/SQL? can any body send me the perfect answer?

4786


What is a select query statement in oracle?

595