Data Management Foundsations D426

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

1/120

encourage image

There's no tags or description

Looks like no tags are added yet.

Last updated 7:13 PM on 5/4/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai

No analytics yet

Send a link to your students to track their progress

121 Terms

1
New cards

Database Management System

Software that reads and writes data in a database. Secure, consistent, and available at all times.

2
New cards

Query

Request to retrieve or change data in a database

3
New cards

Query Language

Specialized programming language, designed specifically for database systems.

4
New cards

Database Applications

Software that helps business users interact with database systems.

5
New cards

Information Management System

software application that manages corporate data for a specific business function. Usually includes a database system as well as other ocmponents, such as a user interface, business logic, and interfaces to other systems.

6
New cards

Database Administrator

Responsible for securing the database system against unauthorized users.

7
New cards

Database Engineers

Determines the format of each data element and the overall database structure. Balance priorities such as storage, response time, and support for rules that govern the data. Technically challenging

8
New cards

Database Designer

Develops computer programs that utilize a database. Programmers write applications that combine database query languages and generall-purpose programming languages. Specialized challenge.

9
New cards

Database User

Consumer of the data. Request, update, or use stored data.

10
New cards

Transaction

A group of queries that must be either completed or rejected as a whole

11
New cards

Architecture

Describes teh interal components and the relationships between components.

12
New cards

Catalog or Data Dictionary

Directory of tables, columns, indexes, and other database objects.

13
New cards

Metadata

Data about the database, such as column names and number of rows in each table.

14
New cards

4 Common Queries

Insert, Select, Update, Delete (CRUD - create, read, update, delete)

15
New cards

SQL

Structured Query Language, standard query language of relational database systems.

16
New cards

SQL Statement

Complete, executable database command.

17
New cards

Three Phases of Database Design

Conceptual, Logical, Physical

18
New cards

Conceptual Design Phase

Specifies database requirements without regard to a specific database system. Requirements are represented as entities, relationships, and attributes.

19
New cards

ER diagrams

How entities, relationships and attributes are depicted

  • Rectangles with round corners represent entities

  • Lines between rectangles represent relationships

  • Text inside rectangles and below entity names represent attributes

20
New cards

Logical Design Phase

Implements database requirements in a specific database system. Converts entities, relationships, and attributes into tables, keys, and columns.

21
New cards

Table Diagram

How a logical design is depicted - similar to ER but more detailed

  • Rectangles with square corners represent tables

  • Text within rectangles and below table names represent columns

  • Bullets indicate key columns

  • Arrows between tables indicate columns that refer to keys. Arrow points to the table containing the key

22
New cards

Physical Design Phase

Adds indexes and specifies how tables are organized on storage media. Can be depicted in diagrams - but not commonly used.

23
New cards

Data Independence or Information Independence

Principle that physical design never affects query results and only the query processing speed.

24
New cards

Application Programming Interface - API

library of procedures or classes that links a host programming language to a database.

25
New cards

Cursor

Helps bridge the gap between SQL, which generates multiple rows in one statement, and host languages, which generally process one row at a time in a loop.

26
New cards

MySQL

Leading relational database system, sponsored by Oracle

27
New cards

Database Model

A conceptual framework for database systems with three parts

  • Data structures - how organized

  • Operations - manipulate data structures

    • Rules - govern valid data

28
New cards

Relational Model

Database model on a tabular data structure. Published in 19701 by E. F. Codd

29
New cards

Set

unordered collection of elements enclosed in braces
{a, b, c} and {c, b, a} are the same

  • A table is a set of rows, the rows have no inherent order

30
New cards

tuple

ordered collection of elements enclosed in parentheses

  • (a, b, c) and (c, b, a) are different

31
New cards

Terms used in database processing

Table, column, row, and data type

32
New cards

Relational Rules

Part of the relational model that govern data in every relational database

  • Unique Primary Key - all tables have a primary key column, or group of columns, in which values may not repeat

  • Unique Column Names - different columns of the same table have different names

  • No duplicate rows - no two rows of the same table have identical values in all columns

33
New cards

Automated Script

A series of SQL statements that is executed repeatedly. Prepared in advance and saved in a file or as a database stored procedure.

34
New cards

Data Definition Language

Defines database structure - DDL

35
New cards

Data Query Language

Retrieves data - DQL

36
New cards

Data Manipulation Language

inserts, updates, and deletes data

37
New cards

Data Transaction Language

Manages transations

38
New cards

Data Control Language

Specifies user access to data. Primarily of interest to database administrators

39
New cards

Statement

A complete, executable instruction, ending with a semicolon.

40
New cards

Clause

Begins with a keyword, followed by additional language elements

41
New cards

SELECT

selects a subset of (or all) rows of a table

42
New cards

PROJECT

Selects one or more columns of a table

43
New cards

PRODUCT

lists all combinations of rows of two tables

44
New cards

JOIN

Combines two tables by comparing related columns

45
New cards

UNION

Selects all rows of two tables

46
New cards

INTERSECTS

Selects rows common to two tables

47
New cards

DIFFERENCE

Selects rows that appear in one table but not another

48
New cards

RENAME

Changes a table name

49
New cards

AGGREGATE

computes functions over multiple table rows, such as sum or count

50
New cards

Table rules:

  • Exactly one value per cell

  • No duplicate column names

  • No duplicate rows

  • No row order

51
New cards

Transpose

Operation in a table where rows become columns and columns become rows

52
New cards

Primary Key

Column or a group of columns used to identify a row

53
New cards

Simple Primary Key

Consists of a single column

54
New cards

Composite Primary Key

Consists of multiple columns

55
New cards

Foreign Key

A column, or group of colums, that refer to a primary key. Data types fo both keys have to be the same but the names can be different. Foreign keys may be NULL

56
New cards

Referential Integrity

A relational rule that requires foreign key values are either fully NULL or match some primary key value

57
New cards

Partially NULL

A coposite foreign key value is partially NULL if some, but not all, columns are NULL

58
New cards

RESTRICT

Rejects an insert, update, or delete that violates referential integrity

59
New cards

SET NULL

Sets invalid foreign keys to NULL

60
New cards

SET DEFAULT

Sets invalid foreign keys to the foreign key default value

61
New cards

CASSCADE

Propagates primary key changes to foreign keys

62
New cards

ON UPDATE/ON DELETE

Followed by either RESTRICT, SET NULL, SET DEFAULT, or CASSCADE

63
New cards

Consraint

A rule that governs allowable values in a database. Based on relational and buisness rules and are implemented with special keywords in a CREATE TABLE statement.

64
New cards

UNIQUE

Ensures that values in a column or group of columns are unique

65
New cards

CHECK

Specififes an expression on one or more columns of a table. Satisfied with either TRUE or NULL

66
New cards

Expression

A string of oeprators, or operands, and parentheses that evaluate to a single value.

67
New cards

SELECT/FROM

SELECTS rows FROM a table. Can select more than one row. Must use commas to seperate selection in clause

68
New cards

Result Table

SELECT statement returns a set of rows called the result table

69
New cards

LIMIT

Limits the number of rows returned by a SELECT statement

70
New cards

Condition

A condition is an expression that evaluates to a logical value

71
New cards

Truth Tables

The value of logical expressions containing NULL operands is defined in truth tables

72
New cards

IN

Used in a where clause to determine if a value matches one of serval values

73
New cards

BETWEEN

alternate way to determine if a value is between two otehr values. Written as - value BETWEEN minValue AND maxValue. Same as value >= minValue AND value <= maxValue

74
New cards

LIKE

Used in a WHERE clause, matches text against a pattern using the two wildcard characters % and _.

75
New cards

ORDER BY

Used to order selected rows by one or more columns in accending order. DESC is used with it to order decending.

76
New cards

Function/Argument

An expression enclosed in parentheses, called an argument, and returns a value.

77
New cards

COUNT()

Counts the number of rows in the set

78
New cards

GROUP BY

Clause consists of the GROUP BY keyword and one or more columns. Each simple or composite value of the column(s) becomes a group. Returns one row for each group.

79
New cards

HAVING

Used with GROUP BY to filter group results

80
New cards

JOIN

Select statment that combines data from two tables, known as the left table and the right table, into a single result

81
New cards

AS

Column name replaced with an alias. Alias follows the column name, separated by an AS keyword

82
New cards

INNER JOIN

Selects only matching left and right table rows

83
New cards

FULL JOIN

Left and right table rows, regardless of match

84
New cards

ON

Specifies the join columns

85
New cards

LEFT JOIN

Selects all left table rows, but only matching right table rows

86
New cards

RIGHT JOIN

Selects all right table rows, but only matching left table rows

87
New cards

OUTER JOIN

An outer join is any join that selects unmatched rows, including left, right and full joins

88
New cards

UNION

Combines the results of two SELECT clauses into one result table

89
New cards

Equijoin

Compares columns of two tables with the = operator

90
New cards

non-equijoin

Compares columns with an operator other than =, such as < and >

91
New cards

self-join

Joins a table to itself

92
New cards

CROSS-JOIN

Uses

93
New cards

Entity-relationship model

High-level representation of data requirements, ignoring implementation details. An entity-relationship model guides implementation in a particular database system.

94
New cards

Reflexive relationship

Relates an entity to itself

95
New cards

ER Diagram

Entity-Relationship Diagram (how entities, relationships, and attributes are depicted)

96
New cards

Entity

Person, Place, Product, Concept, or Activity

97
New cards

Relationship

Statement about two entities

98
New cards

Attribute

Descriptive property of an entity

99
New cards

What’s included in a glossary?

Names, synonyms, and descriptions

100
New cards

Entity Type

Set of things (all employees at a company) - Typically become a table