Data Manipulation
The Data Manipulation Language (DML) is the subset of SQL used to add, update and delete data:
INSERTadds rows (formally tuples) to an existing table, e.g.:
UPDATEmodifies a set of existing table rows, e.g.:
DELETEremoves existing rows from a table, e.g.:
MERGEis used to combine the data of multiple tables. It combines theINSERTandUPDATEelements. It is defined in the SQL:2003 standard; prior to that, some databases provided similar functionality via different syntax, sometimes called "upsert".
Read more about this topic: SQL
Famous quotes containing the words data and/or manipulation:
“Mental health data from the 1950s on middle-aged women showed them to be a particularly distressed group, vulnerable to depression and feelings of uselessness. This isnt surprising. If society tells you that your main role is to be attractive to men and you are getting crows feet, and to be a mother to children and yours are leaving home, no wonder you are distressed.”
—Grace Baruch (20th century)
“The principle that human nature, in its psychological aspects, is nothing more than a product of history and given social relations removes all barriers to coercion and manipulation by the powerful.”
—Noam Chomsky (b. 1928)