Lesson 2 Flashcards

1
Q

Data Definition Language (DDL)

A

Defines the structure of the database.

Ex. Create table Product.

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

Data Query Language (DQL - SQL Sublanguage)

A

Retrieves data from the database.

Ex. Select all rows from a table.

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

Data Manipulation Language (DML - SQL Sublanguage)

A

Manipulates data stored in a database.

Ex. Insert data row into table product.

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

Data Control Language (DCL - SQL Sublanguage)

A

Controls the database user access.

Ex. Grant all permissions to the user ‘tester’.

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

Data Transaction Language (DTL - SQL Sublanguage)

A

Manages database transactions.

Ex. Rollback database changes.

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