What are DDL and DML

0 votes
I know the terms DDL and DML with reference to databases, but I don't really understand what they are?

Also, how do they relate to SQL?
May 28 in Others by Sohail
• 2,960 points
55 views

1 answer to this question.

0 votes
DDL DML
DDL stands for Data Definition Language. DML stands for Data Manipulation Language.
Used to create database schema which can be used to define some constraints as well.  Used to add, retrieve or update the data.
Basically defines the column (Attributes) of the table. It add or update the row of the table. These rows are called as tuple.
It doesn’t have any other classification. It is classified into Procedural and Non-Procedural DML.
Basic command present in DDL are CREATE, DROP, RENAME, ALTER etc. BASIC command present in DML are UPDATE, INSERT, MERGE etc.
DDL does not use WHERE clause in its statement. DML uses WHERE clause in its statement.
answered Jun 1 by Sohail
• 2,960 points

Related Questions In Others

0 votes
1 answer

What are canonical URLs and how do they affect your SEO?

canonical URLs are distinct URL used to ...READ MORE

answered Feb 11 in Others by narikkadan
• 11,280 points
50 views
0 votes
0 answers

What are the sizes of GDTR, LDTR, IDTR and TR registers?

I have searched a lot for this ...READ MORE

May 12 in Others by Kichu
• 19,040 points
168 views
0 votes
1 answer

What is the difference between hadoop and google analytics ?

I will try and answer this as ...READ MORE

answered Aug 22, 2018 in Others by Frankie
• 9,830 points
786 views
0 votes
2 answers

What are the applications of artificial neural networks?

Artificial neural network is a computational model ...READ MORE

answered Mar 2, 2019 in Others by SA
• 1,050 points
1,114 views
+2 votes
2 answers
0 votes
1 answer

What are DDL and DML?

SQL Commands have subcategories like DDL, DML, DCL ...READ MORE

answered Feb 8 in Database by Vaani
• 7,020 points
172 views
0 votes
0 answers

What are DDL and DML?

What are they and how do they ...READ MORE

Jun 9 in Others by polo
• 1,500 points
52 views
+1 vote
2 answers

List few commands of DDL, DML, and DCL.

The list of commands is as follows:  Data ...READ MORE

answered Nov 12, 2018 in Database by Sahiti
• 6,380 points
84,602 views
0 votes
1 answer

Which query to use for better performance, join in SQL or using Dataset API?

DataFrames and SparkSQL performed almost about the ...READ MORE

answered Apr 19, 2018 in Apache Spark by kurt_cobain
• 9,390 points
973 views
0 votes
1 answer
webinar REGISTER FOR FREE WEBINAR X
Send OTP
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP