Module 2 - The Relational Model: Introduction, QBE, and Relational Algebra

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

1/80

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.

81 Terms

1
New cards

Query-By-Example (QBE)

A visual interface that helps you retrieve data from relational databases.

2
New cards

relations

A two-dimensional table-style collection of data in which all entries are single-valued, each column has a distinct name, all the values in a column are values of the attribute that is identified by the column name, the order of columns is immaterial, each row is distinct, and the order of rows is immaterial. Also called a table.

3
New cards

records

A collection of related fields; can be thought of as a row in a table. Also called a tuple.

4
New cards

unnormalized relation

A structure that satisfies the properties required to be a relation (table) with the exception of allowing repeating groups (the entries in the table do not have to be single-valued).

5
New cards

qualify

To indicate the table (relation) of which a given column (attribute) is a part by preceding the column name with the table name. For example, Clients.Street indicates the column named Street in the table named Clients.

6
New cards

repeating groups

Multiple entries for a single record in a table.

7
New cards

tuples

A collection of related fields; can be thought of as a row in a table. Also called a record or row.

8
New cards

primary key

The column or columns that uniquely identify a row in a table.

9
New cards

GUI (graphical user interface)

A visual way of interacting with a computer using items such as icons and menus instead of textual commands.

10
New cards

query

A question structured in a way that the DBMS can recognize and process.

11
New cards

foreign key

The field used to connect a table on the 'many' side of a one-to-many relationship.

12
New cards

composite primary key

An identifier used when more than one column is necessary to make a row unique in a table. See also primary key.

13
New cards

Query Design View

The Access window in which you develop queries by specifying the fields, sort order, and limiting criteria that determine which fields and records are displayed in the resulting datasheet.

14
New cards

select query

A query that selects fields and records from the database. Also called a simple query.

15
New cards

design grid

In Access, the area in which you specify the fields to include in the query results, a sort order for the query results, any criteria, and other instructions.

16
New cards

Design View

An Access view in which the structure of an object can be manipulated.

17
New cards

simple query

A query that selects fields and records from the database. Also called a Select query.

18
New cards

Datasheet View

An Access view that shows a table as a collection of rows and columns, similar to a spreadsheet.

19
New cards

criteria

More than one criterion or condition.

20
New cards

comparison operator

An operator used to compare values. Valid operators are =,

21
New cards

parameter query

A query that prompts the user for input before executing.

22
New cards

operators

A mathematical symbol used in an expression to combine different values, resulting in a single value.

23
New cards

criterion

A single condition or criterion used to filter records.

24
New cards

relational operator

An operator used to compare values, such as =,

25
New cards

compound criteria

Criteria that involve multiple conditions.

26
New cards

OR criteria

Criteria that allow for multiple possible matches.

27
New cards

BETWEEN operator

An operator used to filter records within a specified range.

28
New cards

compound conditions

Conditions that combine multiple criteria.

29
New cards

AND criteria

Criteria that require all conditions to be true.

30
New cards

computed field

A field that derives its value from an expression involving other fields.

31
New cards

Condition

A statement that can be either true or false. In queries, only records for which the statement is true will be included; also called a condition.

32
New cards

Combination of Criteria

Combination of criteria in which only one criterion must be true.

33
New cards

AND/OR Criteria

Two simple criteria (conditions) in a query that are combined with the AND or OR operators.

34
New cards

Range Operator

An operator that allows you to specify a range of values for the criteria, including the lower number, the higher number, and all numbers in between.

35
New cards

Calculated Field

A field whose value is computed from other fields in the database; also called a calculated field.

36
New cards

Criteria Combination

Combination of criteria in which each criterion must be true.

37
New cards

Functions

Part of an expression used to calculate the number of entries, the sum or average of all the entries in a given column, or the largest or smallest of the entries in a given column; also called aggregate function.

38
New cards

Text Data

Text data, including spaces, symbols, and punctuation marks.

39
New cards

Expression

A combination of data and operators that results in a single value.

40
New cards

Boolean

A data type for fields that store only Yes or No (On or Off, True or False) values.

41
New cards

Argument

Information a macro action needs to complete processing; also, specific information provided to a function so it can operate.

42
New cards

Grouping Field

The field that divides records into groups based on the values in the specified field.

43
New cards

Group

To create collections of records that share a common characteristic.

44
New cards

Return Value

The data a function returns when it completes its task.

45
New cards

Sort

To arrange rows in a table or results of a query in a particular order.

46
New cards

Sort Key

The field on which records are sorted.

47
New cards

Primary Sort Key

When sorting on two fields, the more important field; also called a major sort key.

48
New cards

Minor Sort Key

When sorting on two fields, the less important field; also called secondary sort key.

49
New cards

Join

To connect two tables based on common data.

50
New cards

Parent Table

The table on the "one" side of a "one-to-many" relationship.

51
New cards

Child Table

The table on the "many" side of a "one-to-many" relationship.

52
New cards

one-to-many relationship

The table on the "one" side of a "one-to-many" relationship.

53
New cards

primary key field

A field that contains unique information for each record. A primary key field cannot contain a null entry.

54
New cards

key symbol

In Access, the symbol that identifies the primary key field in each table.

55
New cards

foreign key field

In a one-to-many relationship between two tables, the field in the "many" table that links the table to the primary key field in the "one" table.

56
New cards

scrubbing

To remove and fix orphan records in a relational database.

57
New cards

action query

A query that changes data in a batch process.

58
New cards

make-table query

A query that creates a new table in the current or another database with the records selected by the query.

59
New cards

batch update

To modify several records in a single process.

60
New cards

update query

A query that makes a specified change to all records satisfying the criteria in the query.

61
New cards

delete query

A query that permanently deletes all the records satisfying the criteria entered in the query.

62
New cards

query optimizer

A DBMS component that analyzes a query and attempts to determine the most efficient way to execute it.

63
New cards

SQL

See Structured Query Language (SQL).

64
New cards

Relational algebra

A query language that takes instances of relations as input and yields instances of relations as output.

65
New cards

PROJECT

The relational algebra command used to select columns from a table.

66
New cards

SELECT

SQL keyword to select fields and records from a relational database; also, the relational algebra command to select rows from a table.

67
New cards

join column

The column on which two tables are joined. Also see join.

68
New cards

Structured Query Language

A very popular relational data definition and manipulation language that is used in many relational DBMSs.

69
New cards

outer join

The form of a join in which all records appear, even if they don't match.

70
New cards

concatenation

The combination of two or more rows in an operation, such as a join, or the combination of two or more columns for a primary key field to uniquely identify a given row in the table; also, joining two or more strings of textual data into one piece of data.

71
New cards

null

An intentional "nothing" value meaning "unknown" or "not applicable."

72
New cards

union compatible

Two tables are union compatible if they have the same number of fields and if their corresponding fields have identical data types.

73
New cards

union

A combination of two tables consisting of all records that are in either table.

74
New cards

natural join

The most common form of a join.

75
New cards

intersection

When comparing tables, an intersection is a new table containing all rows that are in both original tables.

76
New cards

difference

When comparing tables, the set of all rows that are in the first table but that are not in the second table.

77
New cards

INTERSECT

The relational algebra command for performing the intersection of two tables.

78
New cards

SUBTRACT

The relational algebra command for performing the difference of two tables.

79
New cards

product

The table obtained by concatenating every row in the first table with every row in the second table.

80
New cards

Cartesian product

The table obtained by concatenating every row in the first table with every row in the second table.

81
New cards

division

The relational algebra command that combines tables and searches for rows in the first table that match all rows in the second table.