SQL Languages Flashcards

1
Q

What are the types of structured query language that exist?

A

DDL
DML
DCL
TCL
DQL
DAL

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

What does DLL stand for, what does it do, and what examples of its commands?

A

Data Defination Language, it is used to define and manage the structure of a database.
Examples: CREAT, TRUNCATE, DROP, ALTER

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

What does DML stand for, what does it do, and what examples of its commands?

A

Data Manipulation Language, it is used to manipulate and retrive data in a database

Examples: SELECT, DELETE, UPDATE, INSERT

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

What does DCL stand for, what does it do, and what examples of its commands?

A

Data Control Language it is use to control a database and manage user privilages

Examples: GRANT, REVOKE, DENY

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

What does TCL stand for, what does it do, and what examples of its commands?

A

Transaction Control Language, it is used to manage database transactions.

Examples: COMMIT, ROLLBACK, SAVEPOINT

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

What does stand DQL for, what does it do, and what examples of its commands?

A

Data Querry Language, it is used to select and retrive database data.

Example: SELECT

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

What does DAL stand for, what does it do, and what examples of its commands?

A

Data Administration Language, it is used to database management and maintanace

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