Lesson 2 Flashcards
1
Q
Data Definition Language (DDL)
A
Defines the structure of the database.
Ex. Create table Product.
2
Q
Data Query Language (DQL - SQL Sublanguage)
A
Retrieves data from the database.
Ex. Select all rows from a table.
3
Q
Data Manipulation Language (DML - SQL Sublanguage)
A
Manipulates data stored in a database.
Ex. Insert data row into table product.
4
Q
Data Control Language (DCL - SQL Sublanguage)
A
Controls the database user access.
Ex. Grant all permissions to the user ‘tester’.
5
Q
Data Transaction Language (DTL - SQL Sublanguage)
A
Manages database transactions.
Ex. Rollback database changes.