D426 Study Guide (Red Text ONLY)

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/224

encourage image

There's no tags or description

Looks like no tags are added yet.

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

No analytics yet

Send a link to your students to track their progress

225 Terms

1
New cards

Database Application

A _______________ is software that helps business users interact with database systems

2
New cards

Database Administrator

Database Role:

What role is responsible for securing the database system against unauthorized users? This role enforces procedures for user access and database system availability.

3
New cards

Authorization

Many database users should have limited access to specific tables, columns, or rows of a database. What database "special requirement" allows database systems to allow individual users access to specific data?

4
New cards

Rules

Database special requirements:

Database systems ensure data is consistent with structural and business______________.

5
New cards

Query Processor

Architecture Question:

This interprets Queries, creates a plan to modify the database or retrieve data, and returns query results to the application.

6
New cards

Query Optimization

Architecture Question:

The query processor performs ___________ to ensure the most efficient instructions are executed on the data.

7
New cards

Storage Manager

Architecture Question:

This translates the query processor instructions into low level file system commands that modify or retrieve data.

8
New cards

Indexes

Database sizes range from megabytes to many terabytes, so the storage manager uses __________ to quickly locate data.

9
New cards

Transaction Manager

Architecture Question:

The ______________ ensures the following:

- Ensures transactions are properly executed.

- Prevents conflicts between concurrent transactions.

- Restores the database to a consistent state in the event of transaction or system failure.

10
New cards

Metadata

General Database Systems Question:

This is data about the database, such as column names, number of rows in a table, etc.

11
New cards

Open-Source

Is the MongoDB database engine Open-Source, Private, Free, or Commercial?

12
New cards

NoSQL

What is the MongoDB database Engine type?

13
New cards

INSERT

SQL statement:

This command inputs rows into a table.

14
New cards

SELECT

SQL Statement:

This command retrieves data from a table

15
New cards

UPDATE

SQL Statement:

This command modifies data in a table.

16
New cards

DELETE

SQL Statement:

This command deletes rows from a table.

17
New cards

CREATE TABLE

SQL Statement:

This statement makes a new table by specifying the table and column names.

18
New cards

Data Type

During creation, each column is assigned a ____________ that indicates the format of column values. These can be numeric, textual, or complex.

19
New cards

INT

Data Type Question:

This data type stores integer values.

20
New cards

DECIMAL

Data Type Question:

This datatype stores fractional numeric values.

21
New cards

VARCHAR

Data Type Question:

This datatype stores textual values.

22
New cards

DATE

Data Type Question:

This datatype stores year, month, and day.

23
New cards

Analysis

Name for the first phase of database design.

24
New cards

Logical Design

Name for the second phase of database design.

25
New cards

Physical Design

Name for the third phase of database design.

26
New cards

Analysis

Database Design phases:

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

27
New cards

Relationship

Database Design Related Question:

A(n) ____________ is a link between entities.

28
New cards

Attribute

Database Design Related Question:

A(n) _______________ is a descriptive property of an entity.

29
New cards

Analysis

Database Design Related Question:

The following are other names for what phase: Conceptual Design, Entity-Relationship Modeling, and Requirements Definition

30
New cards

Logical Design

Database Design Related Question:

This phase implements database requirements in a specific database system.

31
New cards

Logical

Database Design Related Question:

For relational database systems, this type of design converts entities, relationships, and attributes into tables, keys, and columns.

32
New cards

Physical Design

Database Design Related Question:

This phase adds indexes and specifies how tables are organized on storage media.

33
New cards

Physical

Database Design Related Question:

This kind of design affects query processing speed but NEVER affects the query result

34
New cards

Data Independence

Database Design Related Question:

The principle that physical design never affects query results is called _______________.

35
New cards

Application Programming Interface (API)

Database Design Related Question:

To simplify the use of SQL with a general-purpose language, database programs typically use a(n)____________.

36
New cards

MySQL Command-Line Client

MySQL Related Question:

This is a text-interface included in the MySQL Server download.

37
New cards

Error Code

MySQL Related Question:

MySQL returns a(n) ________________ and description when an SQL statement is syntactically incorrect or the database cannot execute the statement.

38
New cards

Tuple

Relational Data Structure Question:

What is an ordered collection of elements enclosed in parenthesis called?

Example: (a, b, c) and (c, b, a) are different.

39
New cards

Table

Data Structure Organization Question:

A(n) ___________ has a name, a fixed tuple of columns, and a varying set of rows.

40
New cards

Column

Data Structure Organization Question:

A(n) _____________ has a name and a data type.

41
New cards

Row

Data Structure Organization Question:

A(n) ____________ is an unnamed tuple of values. Each value corresponds to a column and belongs to the column's data type.

42
New cards

Data Type

Data Structure Organization Question:

A(n) _____________ is a named set of values, from which column values are drawn.

43
New cards

File, Relation

Synonyms for: Table

44
New cards

Record, Tuple

Synonyms for: Row

45
New cards

Field, Attribute

Synonyms for: Column

46
New cards

SELECT

Relational Operations Question:

Which operation selects a subset of rows of a table?

47
New cards

JOIN

Relational Operations Question:

Which operation combines two tables by comparing related columns?

48
New cards

UNION

Relational Operations Question:

Which operation selects all rows of two tables?

49
New cards

AGGREGATE

Relational Operations Question:

Which operation computes functions over multiple table rows, such as SUM() and COUNT()?

50
New cards

Business Rules

Relational Rules Question:

What rules are based on business policy and are specific to a particular database?

51
New cards

Literals

SQL Question:

Explicit values that are string, numeric, or binary are called __________. Examples are: 'String', "String", 123, x'0fa2'

52
New cards

Literals

SQL Question:

Strings must be surrounded by single quotes or double quotes. This is part of a description of _____________.

53
New cards

Literals

SQL Question:

Binary values are represented with x'0' where the 0 is any hex value. This is part of a description of ____________.

54
New cards

Keywords

SQL Question:

Words with special meaning are called ____________.

Examples: SELECT, FROM, WHERE

55
New cards

Identifiers

SQL Question:

________________ are objects from the database like Tables, Columns, etc. Examples: City, Name, Population

56
New cards

Comments

SQL Question:

Statements intended only for humans and ignored by the database when parsing an SQL statement are called ___________.

Example: -- for single line, /* for multi-line */

57
New cards

Data Definition Language (DDL)

SQL Sublanguages:

This defines the structure of the database.

58
New cards

Data Query Language (DQL)

SQL Sublanguages:

This language retrieves data from the database.

59
New cards

Data Manipulation Language (DML)

SQL Sublanguages:

This language manipulates data stored in databases.

60
New cards

Data Control Language (DCL)

SQL Sublanguages:

This language controls the database user access.

61
New cards

Data Transaction Language (DTL)

SQL Sublanguages:

This language manages database transactions.

62
New cards

Table

Question about Tables:

A ____________ has a name , a fixed sequence of columns, and a varying set of rows.

63
New cards

Column

Question about Tables:

A ______________ has a name and a data type.

64
New cards

Row

Question about Tables:

A ___________ is an unnamed sequence of values. Each value corresponds to a column and belongs to the column's data type.

65
New cards

Cell

Question about Tables:

A __________ is a single column of a single row.

66
New cards

Data Independence

Question about Tables:

What allows Database Administrators to improve query performance by changing the organization of data on storage devices without affecting query results?

67
New cards

CREATE TABLE

Question about Tables:

What statement creates a new table by specifying the table name, column names, and column data types?

68
New cards

INT or INTEGER

Question about Data Types:

________ is used for integer values.

69
New cards

VARCHAR(N)

Question about Data Types:

_____________ is used for values with 0 to N characters.

70
New cards

DATE

Question about Data Types:

__________ is used for Date values.

71
New cards

DECIMAL(M,D)

Question about Data Types:

___________ is used for numeric values with M digits of which D digits follow after the decimal point.

72
New cards

DROP TABLE

Question about Tables:

What statement deletes a table along with all the tables rows from a database?

73
New cards

ALTER TABLE

Question about Tables:

What statement adds, deletes, or modifies columns on an existing table?

74
New cards

Data Type

Data Type Question:

___________ is a named set of values for which column values are drawn

75
New cards

Integer

Data Type Question:

This data type represents positive and negative integers and has several variations.

76
New cards

INT

Question about Integers:

This type of integer is equal to 4 bytes.

77
New cards

TINYINT

Question about Integers:

This type of integer is equal to 1 byte.

78
New cards

MEDIUMINT

Question about Integers:

This type of integer is equal to 3 bytes.

79
New cards

SMALLINT

Question about Integers:

This type of integer is equal to 2 bytes.

80
New cards

BIGINT

Question about Integers:

This type of integer is equal to 8 bytes.

81
New cards

% (Modulo)

Integer Operator Question:

This operator divides one numeric value by another and returns the integer remainder.

82
New cards

!=

This operator compares two values for inequality.

83
New cards

UPDATE

SQL Statement Question:

What statement modifies existing rows in a table?

84
New cards

SET

SQL Statement Question:

The UPDATE statement uses what clause to specify new column values?

85
New cards

DELETE

SQL Statement Question:

What statement removes existing rows from a table?

86
New cards

FROM

SQL Statement Question:

Which keyword follows DELETE in a DELETE statement to specify the Table name where rows are to be deleted?

87
New cards

TRUNCATE

SQL Statement Question:

What statement deletes ALL rows from a table?

88
New cards

MERGE

SQL Statement Question:

The ____________ statement selects data from one table, called the source, and inserts the data into another table, called the target.

89
New cards

Primary Key

Question on Keys:

A ____________ is a column or group of columns used to identify a row.

90
New cards

Primary Key

Question on Keys:

This key is usually a table's first column.

91
New cards

Simple Primary Key

What kind of primary key consists of a single column?

92
New cards

Composite Primary Key

What kind of primary key consists of multiple columns?

93
New cards

Auto-Incrementing Column

What kind of column is a numeric column that is assigned an automatically incrementing value when a new row is inserted?

94
New cards

Manually inserting values for primary keys in an auto-incrementing column.

Users occasionally make this error when inserting primary keys into an auto-incrementing column. (This is not a repeat question)

95
New cards

Omitting values for primary keys that are not in auto-incrementing columns.

Users occasionally make this error when inserting primary keys into an auto-incrementing column. (This is not a repeat question.)

96
New cards

A Mistake

Overriding auto-increment for a primary key is usually _____________.

97
New cards

Foreign Key

Question on Keys:

This type of key is a column or group of columns that refer to a primary key. The names of these keys and primary keys may be different but the data types must be the same.

98
New cards

REFERENCES

A Foreign Key constraint is added to a CREATE TABLE statement with FOREIGN KEY and ____________ Keywords.

99
New cards

INSERT, UPDATE, DELETE

These 3 statements are rejected when a Foreign Key Constraint is specified if they violate referential integrity.

100
New cards

RESTRICT

Referential Integrity Constraints:

___________ rejects an insert, update, or delete that violates referential integrity.