Database Management System 1 - SQL Essentials

0.0(0)
Studied by 0 people
call kaiCall Kai
Locked
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/22

flashcard set

Earn XP

Description and Tags

Vocabulary flashcards covering key SQL concepts, commands, command sub-categories (DDL, DML, DQL, TCL, DCL), engine mechanisms, and constraints based on lecture material.

Last updated 11:02 AM on 9/2/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai
Chat

No analytics yet

Send a link to your students to track their progress

23 Terms

1
New cards

Data Definition Language (DDL)

A category of SQL queries used to define and modify the structure of the database and its objects, including commands like CREATE, ALTER, DROP, TRUNCATE, and RENAME.

2
New cards

Data Manipulation Language (DML)

A category of SQL queries used to manipulate data stored in the database, including commands like INSERT, UPDATE, and DELETE.

3
New cards

Data Query Language (DQL)

A category of SQL queries centered on the SELECT command, used to retrieve data from database tables.

4
New cards

Transaction Control Language (TCL)

A category of SQL commands used to manage database transactions and ensure data integrity, including COMMIT, ROLLBACK, SAVEPOINT, and SET TRANSACTION.

5
New cards

Data Control Language (DCL)

A category of SQL queries used to manage access privileges and security permissions for database objects, including GRANT and REVOKE.

6
New cards

SQL Parser

The database engine component that breaks down a query into pieces to verify its syntax and structure, throwing an error if a typo or logic issue exists.

7
New cards

Query Optimizer

The database engine component that calculates and determines the most efficient path or strategy to retrieve or process query results.

8
New cards

Execution Plan

A step-by-step guide produced after query optimization that specifies how the database engine will carry out an operations request.

9
New cards

SQL Joins

A feature in SQL used to combine records from multiple tables based on related columns between them.

10
New cards

Aggregations

SQL functions used to calculate summary results across multiple rows of data, such as totals or averages using functions like COUNT(*) or AVG().

11
New cards

Transaction

An undoable bundle of database operations executed as a single group, ensuring all changes succeed together or fail together.

12
New cards

PRIMARY KEY Constraint

A database constraint combining NOT NULL and UNIQUE attributes to uniquely identify each individual row in a table.

13
New cards

FOREIGN KEY Constraint

A database constraint that prevents actions that would break relationships or links established between tables.

14
New cards

NOT NULL Constraint

A constraint ensuring that a designated column cannot store a NULL value.

15
New cards

UNIQUE Constraint

A constraint ensuring that all values stored within a specific column are distinct from one another.

16
New cards

CHECK Constraint

A constraint ensuring that all values in a column satisfy a defined logical condition.

17
New cards

DEFAULT Constraint

A constraint that assigns a predefined value to a column when no value is explicitly supplied.

18
New cards

CREATE INDEX

A command used to create lookup structures on table columns to significantly speed up data retrieval.

19
New cards

MySQL View

A virtual table containing rows and columns derived from one or more underlying tables, created using the CREATE VIEW statement.

20
New cards

TRUNCATE

A DDL command that deletes all rows from a table while leaving its schema structure intact.

21
New cards

EXPLAIN Command

A utility command used to display execution plans for queries, aiding in query and index performance optimization.

22
New cards

AUTO_INCREMENT

A MySQL field attribute that automatically generates sequential unique numeric values whenever a new row is added.

23
New cards

FLUSH PRIVILEGES

A command used to clear and reload the database server internal memory cache regarding user privileges and grants.