PowerPoint 3 Flashcards

1
Q

What is Data Manipulation Language(DML)?

A

DML is a subset of operations used to INSERT, DELETE and UPDATE data in a database.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What does CRUD stand for?

A

create, read, update and delete.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is the function of the INSERT command?

A

The INSERT command is used to insert date into a table.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What will this do?

INSERT INTO <table_name> (column_name(s))
values (column_value(s)),
(column_values(s));</table_name>

A

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>

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is the function of the UPDATE command?

A

The UPDATE statement is used to update existing data within a table

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What will this do?

UPDATE <table_name>
SET <column_number> = <value_number>
WHERE condition;​</value_number></column_number></table_name>

A

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>

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is the function of the DELETE command?

A

The DELETE command is used to delete records from a database table

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What will this do?

Delete from <table_name>
WHERE condition;​</table_name>

A

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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly