





Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
data manipulation language (DML) In a database management system (DBMS), a language that is used to insert data in, update, and query a database.
Typology: Summaries
1 / 9
This page cannot be seen from the preview
Don't miss anything!






98 - 364 Database Administration Fundamentals
98 - 364 Database Administration Fundamentals
1.3 Understand data manipulation language (DML) In this lesson, you will review: SQL DML — DDL relationship DML SELECT INSERT UPDATE DELETE
98 - 364 Database Administration Fundamentals DML — DDL (continued) data definition language (DDL) A language that defines all attributes and properties of a database, especially record layouts, field definitions, key fields, file locations, and storage strategy. Acronym: DDL. DDL is used to create the framework for the database, the schema of the database, or both. This will be covered more in DDL review lesson 1.4.
98 - 364 Database Administration Fundamentals
DML is used to retrieve and modify database information. These commands will be used by all database users during a routine workday. Following is a basic review of some of the most common DML commands
98 - 364 Database Administration Fundamentals
The INSERT command is used to add records to an existing
INSERT INTO Grant_info VALUES (‘John’, ‘Doe’,12345,2200) In this code, we have created John Doe, given him a student ID, and set his grant value to $2200. There are four data values specified for the record. These correspond to the table attributes/fields in the order they were defined: first_name, last_name, student_id, and credit.
98 - 364 Database Administration Fundamentals
The UPDATE command can be used to modify information contained within a table, either individual data or groups of data. UPDATE Grant_info SET aid_awarded = aid_awarded + 4000 WHERE student_id = 12345 This UPDATE command calls the Grant_info table and adds $4,000 to the value of the aid award for student 12345.