PowerPoint 3 Flashcards
What is Data Manipulation Language(DML)?
DML is a subset of operations used to INSERT, DELETE and UPDATE data in a database.
What does CRUD stand for?
create, read, update and delete.
What is the function of the INSERT command?
The INSERT command is used to insert date into a table.
What will this do?
INSERT INTO <table_name> (column_name(s))
values (column_value(s)),
(column_values(s));</table_name>
the INSERT statement inserts one or more rows of data into a table (<table_name>) by specifying the column names (column_name(s)) and their corresponding values (column_value(s)).</table_name>
What is the function of the UPDATE command?
The UPDATE statement is used to update existing data within a table
What will this do?
UPDATE <table_name>
SET <column_number> = <value_number>
WHERE condition;</value_number></column_number></table_name>
The UPDATE statement updates a specific column (<column_number>) in a table (<table_name>) with a new value (<value_number>), based on the specified condition.</value_number></table_name></column_number>
What is the function of the DELETE command?
The DELETE command is used to delete records from a database table
What will this do?
Delete from <table_name>
WHERE condition;</table_name>
the DELETE statement deletes one or more rows from a table (<table_name>) based on the specified condition (WHERE condition).</table_name>
Note:
The WHERE statement can take multiple conditions.