Database and SQL Fundamentals

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

1/33

flashcard set

Earn XP

Description and Tags

Flashcards covering fundamental database concepts and SQL.

Last updated 8:47 PM on 5/17/25
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai

No analytics yet

Send a link to your students to track their progress

34 Terms

1
New cards

Database

A set of ordered related data accessed by a computer system.

2
New cards

Database Management System (DBMS)

Provides the services necessary for end users or other software to interact with the data in a database.

3
New cards

Functionality Provided by DBMS

The ability to read, write, update, and delete data; structure data; set permissions; manage physical storage; and prevent database damage.

4
New cards

MySQL

A DBMS for relational databases where data is stored in related rows and columns within tables.

5
New cards

SQL (Structured Query Language)

A special type of programming language used to interact with relational databases.

6
New cards

Database Engine

Core functions of a database system, such as displaying, erasing, or adding data, and changing the database structure.

7
New cards

Non-Relational Databases

Designed to store documents or other types of unordered data.

8
New cards

Declarative Language

A language where a programmer states the logic of what they want the end result to look like, leaving the control flow up to the computer.

9
New cards

SELECT Clause

Tells the database what data to select (e.g., everything or specific columns).

10
New cards

FROM Clause

Indicates the table from which to select data.

11
New cards

WHERE Clause

Filters the results of the select query based on specified criteria.

12
New cards

ORDER BY Clause

Describes how the data should be displayed, such as sorting by a specific column.

13
New cards

UPDATE Statement

Used to change the data in the database.

14
New cards

INSERT Statement

Used to add data to the database.

15
New cards

CREATE TABLE Statement

Adds new tables to the database.

16
New cards

ALTER TABLE Statement

Used to change existing tables.

17
New cards

TRUNCATE Statement

Used to empty tables of their contents while preserving their structure.

18
New cards

DROP Statement

Used to remove tables entirely.

19
New cards

Advantages of Databases over Spreadsheets and Flat Files

Flexibility, scalability, and integrity.

20
New cards

Relational Databases

Organizing data into rows and columns within tables.

21
New cards

Table

A collection of closely related data organized in rows and columns.

22
New cards

Column

Defines the data present in each row.

23
New cards

Row

Contains data that all refer to the same entity in the database.

24
New cards

Value

The intersection of each row and column.

25
New cards

Primary Key

A unique identifier for each row in a table.

26
New cards

Foreign Key

A key used to reference a specific row in another table.

27
New cards

SQL Statement

Any valid command that complies with SQL syntax, ends with a semicolon, and interacts with a database in some way.

28
New cards

CRUD Statements

Create, read, update, and delete.

29
New cards

CRUD Statements in MySQL

Insert, select, update, and delete statements in MySQL.

30
New cards

Query

A type of statement that uses SELECT and returns a set of rows.

31
New cards

Clause

The building blocks of an SQL statement (e.g., SELECT * FROM movies WHERE release_year > 2010).

32
New cards

Predicate

Filters the results within a WHERE clause based on user-defined criteria.

33
New cards

Joining Tables

Joining two tables based on where the data in those two tables overlaps.

34
New cards

Normalization

The practice of designing a database to minimize data redundancy and maximize data integrity.