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 spfile/init.ora file parameter exists to force the CBO to make the execution path of a given statement use an index, even if the index scan may appear to be calculated as more costly?

1517


How will you write a query to get a 5th rank student from a table student_report?

1353


How do I start tns listener?

530


In which language oracle has been developed?

639


What happens if you set the sga too low in oracle?

546






What is hash cluster in oracle?

591


What is rowid and rownum in oracle?

536


What is the Tune Query

1836


How to add another datafile to a tablespace?

570


What is the difference between translate and replace?

546


What is an oracle wallet?

506


How can I introduce multiple conditions in like operator?

545


How to count duplicated values in a column in oracle?

544


Explain the use of rows option in imp command.

600


How to update values in a table in oracle?

567