Final Exam Study Guide: Database Processing Fundamentals

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

1/161

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

162 Terms

1
New cards

Importance of Databases

Essential for managing user data in applications.

2
New cards

Nature and Characteristics

Helps track items of interest through data storage.

3
New cards

Data vs. Information

Data is raw facts; information is processed data.

4
New cards

Database Definition

Self-describing collection of integrated tables.

5
New cards

Metadata

Data about data, describing structure and relationships.

6
New cards

Database Management System (DBMS)

Software for creating and managing databases.

7
New cards

Database Categories

Classified as relational or non-relational.

8
New cards

Relational Databases

Organize data in tables, emphasizing structured relationships.

9
New cards

Non-Relational Databases

Flexible data structures for unstructured data management.

10
New cards

Database Design Types

Includes existing data analysis, new development, and redesign.

11
New cards

Database History

Milestones include early file systems and relational products.

12
New cards

Tables

Structures for storing data in rows and columns.

13
New cards

Rows

Records representing instances of data in tables.

14
New cards

Columns

Fields that define attributes of data in tables.

15
New cards

ACID Properties

Ensure reliability in relational database transactions.

16
New cards

SQL

Structured Query Language for managing relational databases.

17
New cards

Big Data

Massive unstructured data requiring non-relational databases.

18
New cards

Data Normalization

Process of organizing data to reduce redundancy.

19
New cards

Concurrency Control

Management of simultaneous database access to maintain integrity.

20
New cards

Backup and Recovery

Processes to restore data after loss or corruption.

21
New cards

Data Integrity

Accuracy and consistency of data within a database.

22
New cards

Self-Describing Data

Data that includes its own metadata for context.

23
New cards

Database

A structured collection of data organized in tables.

24
New cards

Relationships

Connections among rows of data in a database.

25
New cards

Keys

Identifiers used to establish relationships between rows.

26
New cards

Key

Combination of columns identifying specific rows.

27
New cards

Primary Key (PK)

Unique identifier for each row in a table.

28
New cards

Candidate Key

Key determining all other columns in a relation.

29
New cards

Composite Key

Primary key using more than one column.

30
New cards

Surrogate Key

Automatically assigned key used as primary key.

31
New cards

Foreign Key (FK)

Column linking two tables via primary key reference.

32
New cards

Referential Integrity

Ensures foreign key values match primary key values.

33
New cards

Data Integrity Constraints

Rules ensuring data accuracy and consistency.

34
New cards

Domain Integrity Constraint

Limits attribute values to a defined set.

35
New cards

Entity Integrity Constraint

Requires primary key to be unique and non-NULL.

36
New cards

Modification Anomalies

Issues arising from unnormalized tables.

37
New cards

Insertion Anomaly

Difficulty adding data without related data present.

38
New cards

Deletion Anomaly

Loss of data about one entity during deletion.

39
New cards

Update Anomaly

Inconsistency from changing data in multiple places.

40
New cards

Normalization

Technique to reduce redundancy and data dependency.

41
New cards

Functional Dependencies (FD)

Relationship where one attribute determines another.

42
New cards

Determinant

Attribute whose value determines other attributes' values.

43
New cards

Multivalued Dependencies (MVD)

Determinant matched with a set of values.

44
New cards

Anomalies

Problems arising from poor database design.

45
New cards

Multivalued Dependency (MVD)

A situation where one attribute determines multiple values.

46
New cards

Modification Anomalies

Problems arising from database updates or deletions.

47
New cards

Normal Forms

Categories of relations based on anomaly susceptibility.

48
New cards

First Normal Form (1NF)

Requires atomic values and no repeating groups.

49
New cards

Second Normal Form (2NF)

All non-key attributes depend on entire primary key.

50
New cards

Third Normal Form (3NF)

No determinants except the primary key allowed.

51
New cards

Boyce-Codd Normal Form (BCNF)

Every determinant must be a candidate key.

52
New cards

Fourth Normal Form (4NF)

Resolves multivalued dependencies by creating separate tables.

53
New cards

Domain Key Normal Form (DK/NF)

Constraints are logical consequences of keys and domains.

54
New cards

Functional Dependency (FD)

Relationship where one attribute uniquely determines another.

55
New cards

Candidate Key

An attribute that can uniquely identify a record.

56
New cards

Primary Key (PK)

A unique identifier for a database record.

57
New cards

Foreign Key (FK)

An attribute that creates a link between tables.

58
New cards

Referential Integrity Constraint

Ensures relationships between tables remain valid.

59
New cards

SQL COUNT(*)

Counts the number of rows in a table.

60
New cards

SQL SELECT TOP

Retrieves a specified number of records.

61
New cards

Denormalization

Combining normalized tables to improve performance.

62
New cards

Read-Only Databases

Nonoperational databases used for querying and reporting.

63
New cards

Data Warehouse

A system for reporting and data analysis.

64
New cards

Multivalue, Multicolumn Problem

Storing multiple values in multiple columns instead of rows.

65
New cards

Inconsistent Values Problem

Same data represented differently across records.

66
New cards

Database Design Assessment

Evaluating table structure and data relationships.

67
New cards

NULL

Values that have never been provided.

68
New cards

Remarks Column Problem

Inconsistent data in remarks or notes columns.

69
New cards

SQL Significance

Language for communicating with and manipulating databases.

70
New cards

SQL Standard

ANSI endorsed SQL as a national standard in 1992.

71
New cards

SQL Categories

Five types of SQL statements for various tasks.

72
New cards

Data Definition Language (DDL)

Creates, modifies, and deletes database structures.

73
New cards

Data Manipulation Language (DML)

Queries, inserts, modifies, and deletes database data.

74
New cards

SQL/Persistent Stored Modules (SQL/PSM)

Adds procedural programming capabilities to SQL.

75
New cards

Transaction Control Language (TCL)

Controls transaction boundaries and behavior.

76
New cards

Data Control Language (DCL)

Grants or revokes database permissions.

77
New cards

CREATE TABLE

Command to create new database tables.

78
New cards

ALTER TABLE

Modifies an existing table's structure.

79
New cards

DROP TABLE

Removes a table from the database.

80
New cards

TRUNCATE TABLE

Removes all data while keeping table structure.

81
New cards

SELECT

Retrieves data from a database.

82
New cards

DISTINCT

Eliminates duplicate rows in SELECT results.

83
New cards

TOP

Limits number of rows returned in SELECT.

84
New cards

FROM Clause

Specifies tables to select data from.

85
New cards

WHERE Clause

Filters rows based on specified conditions.

86
New cards

ORDER BY Clause

Sorts query results in ascending or descending order.

87
New cards

GROUP BY Clause

Groups rows with same values in specified columns.

88
New cards

HAVING Clause

Filters groups based on conditions after GROUP BY.

89
New cards

Aggregate Functions

Perform calculations on column values like SUM or AVG.

90
New cards

AVG

Calculates the average of numeric values.

91
New cards

MIN

Finds the minimum value in a dataset.

92
New cards

MAX

Finds the maximum value in a dataset.

93
New cards

COUNT

Counts rows or non-NULL values in a column.

94
New cards

HAVING

Filters results after aggregation in SQL.

95
New cards

RTRIM()

Removes trailing spaces from a string.

96
New cards

SQL Views

Virtual tables constructed from SELECT statements.

97
New cards

CREATE VIEW

Command to create a new SQL view.

98
New cards

SQL/PSM

Standard for procedural programming in SQL.

99
New cards

User-Defined Functions

Stored SQL statements that return output values.

100
New cards

CREATE FUNCTION

Command to create a user-defined function.