The basic difference between DDL and DML is the commands they provide . The DDL provides statement for the creation and deletion of tables, indexes, views etc. while the DML provides statements to enter, update, delete and perform complex queries on these tables.
Details is discussed on http://arjudba.blogspot.com/2008/04/what-are-difference-between-ddl-dml-and.html
DML
What is difference between Compiler and DML Compiler
Update and Alter are two SQL (Structured Query Language) commands used for modifying databases. Update statement is used to update existing records in a database. Update is a Data Manipulation Language (DML) statement. Alter SQL command is used to modify, delete or add a column to an existing table in a database. Alter is a Data Definition Language (DDL) statement.Commands that are used to define the structure of a database (database schema) are called DDL statements.
DDL or Data Definition Language is used to define the database and other related functions like creating tables, views, indexes etc. Some commands in DDL are:CREATE TABLEALTER TABLECREATE VIEWDROP TABLEetc.DML or Data Manipulation Language is used to modify the contents of the data in a database. Ex:SELECTINSERTUPDATEDELETEORDER BYGROUP BYetc.DDLData Definition Language (DDL) statements are used to define the database structure or schema. Some examples:CREATE - to create objects in the databaseALTER - alters the structure of the databaseDROP - delete objects from the databaseTRUNCATE - remove all records from a table, including all spaces allocated for the records are removedCOMMENT - add comments to the data dictionaryRENAME - rename an objectDMLData Manipulation Language (DML) statements are used for managing data within schema objects. Some examples:SELECT - retrieve data from the a databaseINSERT - insert data into a tableUPDATE - updates existing data within a tableDELETE - deletes all records from a table, the space for the records remainMERGE - UPSERT operation (insert or update)CALL - call a PL/SQL or Java subprogramEXPLAIN PLAN - explain access path to dataLOCK TABLE - control concurrency
The differences between them you can get from, http://arjudba.blogspot.com/2008/04/what-are-difference-between-ddl-dml-and.html
Details is discussed on http://arjudba.blogspot.com/2008/04/what-are-difference-between-ddl-dml-and.html
The basic difference between DDL and DML is the commands they provide . The dml (data manipulation language) provides statements to enter, update, delete and perform complex queries on these tables while the ddl(data description language) provides statement for the creation and deletion of tables, indexes, views etc.
DML
DML(data manipulation language) provides statements to enter, update, delete and perform complex queries on these tables. DDL(Data definition language) provides statements for creation and deletion of tables, view, indexes etc.
ddl: data definition languagedml: data manipulation language
What is difference between Compiler and DML Compiler
The DDL provides statement for the creation and deletion of tables, indexes, views etc. The DML provides statements to enter, update, delete and perform complex queries on these tables.
Data Definition Lenguage (DDL) Data Manipulation Lenguage (DML) Data Dictionary
Data manipulation language(DML) data Defenition language(DDL) data control Language(DCL) Transaction Control
It is not C, it's SQL. Non-query means DML (INSERT, UPDATE, DELETE) and DDL (eg CREATE TABLE).
The Data Definition Language (DDL). This component of the SQL language is used to create and modify tables and other objects in the database. For tables there are three main commands:CREATE TABLE tablename to create a table in the databaseDROP TABLE tablename to remove a table from the databaseALTER TABLE tablename to add or remove columns from a table in the database.The Data Manipulation Language (DML) component of the SQL language is used to manipulate data within a table. There are four main commands:then,SELECT to select rows of data from a tableINSERT to insert rows of data into a tableUPDATE to change rows of data in a tableDELETE to remove rows of data from a table