Databases – Key Vocabulary

0.0(0)
studied byStudied by 0 people
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/135

flashcard set

Earn XP

Description and Tags

Vocabulary flashcards covering fundamental database concepts, structures, modeling terms, and SQL operations discussed in the lecture notes.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

136 Terms

1
New cards

Database

A structured collection of persistent, shared, and integrated data, typically stored in tables.

2
New cards

Ubiquitous (in databases)

Describes databases that are accessible globally from any location, system, or device.

3
New cards

Pervasive (in databases)

Indicates that a database is always present, stable, and recoverable even after failures.

4
New cards

Data

Raw facts or values (text, numbers) that have not yet been processed.

5
New cards

Information

Meaningful results produced after data is processed, calculated, or formatted.

6
New cards

Database Management System (DBMS)

Software that manages, secures, and controls access to a database.

7
New cards

Single-User Database

A database installed locally for use by one person, e.g., MS Access on a PC.

8
New cards

Multi-User Database

A database accessed concurrently by multiple people or departments.

9
New cards

Centralized Database

A database hosted in one physical location, often for high security and control.

10
New cards

Distributed Database

A database whose data is spread across multiple physical sites, providing redundancy.

11
New cards

Cloud Database

A database hosted on cloud platforms like AWS, Azure, or GCP, offering elastic scaling.

12
New cards

General-Purpose Database

A database used across many business functions, e.g., company-wide employee data.

13
New cards

Discipline-Specific Database

A database tailored to a particular function, such as a product or medical database.

14
New cards

Operational Database

A database that supports day-to-day transactions and business operations.

15
New cards

Analytical Database

A database (often a data warehouse) storing historical data for analysis and reporting.

16
New cards

Structured Data

Data organized in rows and columns, stored in relational tables.

17
New cards

Unstructured Data

Data without a fixed schema, e.g., PDFs, images, audio files.

18
New cards

Semi-Structured Data

Data with partial structure, e.g., JSON or XML, where each record may differ.

19
New cards

Primary Key

A unique, non-NULL column (or set of columns) that identifies each row in a table.

20
New cards

Foreign Key

A column in one table that references a primary (or unique) key in another table.

21
New cards

Entity Integrity

Rule ensuring primary keys are unique and never NULL.

22
New cards

Referential Integrity

Rule ensuring foreign-key values are either NULL or match existing primary-key values.

23
New cards

Relational Model

Dominant data model storing data in tables connected by keys.

24
New cards

Hierarchical Model

Tree-like data model with one parent to many children relationships.

25
New cards

Network Model

Older data model allowing many-to-many record links via pointers.

26
New cards

Object-Oriented Model

Data model treating entities as reusable objects with attributes and methods.

27
New cards

NoSQL Model

Schema-flexible model for unstructured or semi-structured data; example: MongoDB.

28
New cards

Data Model

An abstract representation of a real-world system’s data requirements and rules.

29
New cards

Conceptual Model

High-level, platform-independent diagram showing entities and relationships.

30
New cards

Logical Model

Model adding attributes, data types, and detailed relationships to the conceptual design.

31
New cards

Physical Model

Platform-specific model detailing how tables and indexes are stored on disk.

32
New cards

Entity

A real-world object or concept represented as a table in a database.

33
New cards

Attribute

A property of an entity; implemented as a column in a table.

34
New cards

Relationship

An association (verb) linking two entities, such as "enrolls" or "teaches."

35
New cards

Constraint

A rule that limits permissible data values, e.g., GPA 0–4.

36
New cards

Cardinality

The numeric range (min, max) describing how many entity instances participate in a relationship.

37
New cards

One-to-One (1:1)

Relationship where a row in Table A relates to exactly one row in Table B and vice versa.

38
New cards

One-to-Many (1:M)

Relationship where one row in Table A relates to many rows in Table B.

39
New cards

Many-to-Many (M:N)

Relationship where many rows in Table A relate to many rows in Table B; resolved with a bridge table.

40
New cards

Entity Relationship Diagram (ERD)

Visual diagram showing entities, attributes, relationships, and cardinalities.

41
New cards

Projection (Relational Algebra)

Operation that selects specific columns from a relation.

42
New cards

Union (Relational Algebra)

Operation that combines two result sets, removing duplicates.

43
New cards

Intersect (Relational Algebra)

Operation returning only rows appearing in both result sets; equals SQL INNER JOIN on shared columns.

44
New cards

INNER JOIN

SQL join returning only rows where both tables have matching values.

45
New cards

LEFT OUTER JOIN

SQL join returning all rows from the left table and matching rows from the right; unmatched rights are NULL.

46
New cards

RIGHT OUTER JOIN

SQL join returning all rows from the right table and matching rows from the left; unmatched lefts are NULL.

47
New cards

FULL OUTER JOIN

SQL join returning all rows from both tables, with NULLs where matches are absent.

48
New cards

Bridge Table (Junction Table)

Intermediate table that breaks an M:N relationship into two 1:M relationships via composite keys.

49
New cards

Composite Key

Primary key made of two or more columns, often used in bridge tables.

50
New cards

Strong Entity

Entity that can exist independently of other entities; has its own primary key.

51
New cards

Weak Entity

Entity that depends on another entity for existence and often has a composite key.

52
New cards

Identifying Relationship

Strong relationship where child’s primary key contains part of the parent’s key.

53
New cards

Non-Identifying Relationship

Relationship where child’s primary key is independent of the parent’s key.

54
New cards

Participation (Mandatory vs Optional)

Whether an entity instance must (mandatory) or may (optional) participate in a relationship.

55
New cards

Recursive Relationship

Relationship where a table references itself (e.g., employee manages employee).

56
New cards

Derived Attribute

Attribute whose value is calculated from other stored values, e.g., Age from DateOfBirth.

57
New cards

Domain (Attribute Domain)

Set of valid values an attribute is allowed to take.

58
New cards

Simple Attribute

Attribute that cannot be subdivided further (e.g., ZipCode).

59
New cards

Composite Attribute

Attribute that can be split into subparts (e.g., FullName into First and Last).

60
New cards

Single-Valued Attribute

Attribute holding exactly one value per entity instance.

61
New cards

Multivalued Attribute

Attribute capable of holding multiple values per entity instance.

62
New cards

Subtype

A specialized entity that inherits attributes and the primary key from a supertype.

63
New cards

Supertype

A generalized entity whose primary key is inherited by its subtypes.

64
New cards

Discriminator

Attribute in the supertype that indicates which subtype a record belongs to.

65
New cards

Disjoint Category (D)

Subtype rule where a supertype instance can belong to only one subtype.

66
New cards

Overlapping Category (O)

Subtype rule where a supertype instance can belong to multiple subtypes.

67
New cards

Partial Completeness

Constraint where some supertype instances may have no subtype occurrence.

68
New cards

Total Completeness

Constraint where every supertype instance must appear in at least one subtype.

69
New cards

Select Statement

Basic SQL command starting with SELECT to retrieve data.

70
New cards

SELECT Keyword

SQL reserved word that begins a query and specifies columns to return.

71
New cards

FROM Keyword

SQL reserved word that identifies the source table of a query.

72
New cards

SQL (Structured Query Language)

Standard language for defining, manipulating, and querying relational databases.

73
New cards

Ubiquitous (in databases)

Describes data that can be accessed globally from any device, system, or location.

74
New cards

Pervasive (in databases)

Indicates data that is always present, persistent, and recoverable even after failures.

75
New cards

Data

Raw, unprocessed facts—text, numbers, or symbols—that have not yet been analyzed.

76
New cards

Information

Meaningful output created after data is processed, calculated, or aggregated.

77
New cards

Database

A structured collection of related data, often stored in tables and made shareable.

78
New cards

Database Management System (DBMS)

Software that manages a database by controlling access, enforcing security, and validating data.

79
New cards

Single-User Database

A locally installed database intended for use by one person at a time (e.g., MS Access).

80
New cards

Multi-User Database

A database accessed concurrently by multiple users, teams, or departments.

81
New cards

Centralized Database

Database stored in one physical location, offering strong control but limited scalability.

82
New cards

Distributed Database

Database whose data is spread across multiple sites for high availability and redundancy.

83
New cards

Cloud Database

Database hosted on cloud services (AWS, Azure, GCP) that scales on demand and is vendor-managed.

84
New cards

General-Purpose Database

Shared across departments to support varied business functions (e.g., employee database).

85
New cards

Discipline-Specific Database

Built for one functional area, such as a product BOM or medical records.

86
New cards

Operational Database

Supports day-to-day transactions like sales orders and shipping records.

87
New cards

Analytical Database

Stores historical data (data warehouse) for reporting, BI, and trend analysis.

88
New cards

Structured Data

Tabular data organized into rows and columns within RDBMS tables.

89
New cards

Unstructured Data

Data lacking a fixed schema (e.g., PDFs, images, audio, free-form text).

90
New cards

Semi-Structured Data

Data with partial organization, often tagged (XML, JSON, CSV).

91
New cards

Primary Key

A field or set of fields that uniquely identifies each row; cannot be NULL.

92
New cards

Foreign Key

A field in one table that references a primary (or unique) key in another table to enforce relationships.

93
New cards

Entity Integrity

Rule that primary keys must be unique and non-NULL.

94
New cards

Referential Integrity

Rule that a foreign-key value must match a valid row (or be NULL) in the referenced table.

95
New cards

Projection (Relational Algebra)

Operation that selects specific columns from a table.

96
New cards

Union (Relational Algebra)

Combines result sets of two queries, removing duplicates.

97
New cards

Intersect (Relational Algebra)

Returns only rows present in both result sets; equivalent to SQL INNER JOIN on shared fields.

98
New cards

One-to-Many (1:M) Relationship

One record in Table A relates to many in Table B (e.g., professor → classes).

99
New cards

Many-to-Many (M:N) Relationship

Many records in Table A relate to many in Table B; resolved with a bridge table.

100
New cards

Bridge / Junction Table

Table containing two foreign keys that breaks an M:N relationship into two 1:M relationships.