D427 Sublanguages Flashcards
Data Definition Language
Concerned with database schemas and describes how data should be stored in the database
Data Definition Language commands
ALTER, CREATE, DROP, TRUNCATE
Data manipulation language (DML)
modifies data in a database
data manipulation language commands
DELETE, EXPLAIN, INSERT, REPLACE, UPDATE
Data Query Language
for querying the database
Data Query Language commands
SELECT
Data Control Language
concerned with rights, permissions, and other controls of the database system
data control language commands
GRANT, REVOKE
Transaction Control Language
Deals with transactions within a database
Transaction Control Language commands
SET TRANSACTION, SAVEPOINT, ROLLBACK, COMMIT