Vocab. Ch. 1-3 Flashcards

1
Q

Redundancy

A

The duplication of data or the storing of the same data in more than one place.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

database

A

A structure that contains information about many different categories of information and about the relationships between those categories.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

entity

A

A person, place, object, event, ore idea for which you want to store and process data.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

attribute

A

A characteristic or property of an entity.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

relationship

A

An association between relationships.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

one-to-many relationship

A

One entity is associated with many other entities.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

data file

A

A file that is used to store data.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

database

A

A structure that can store information about multiple types of entities, the attributes of those entities, and the relationship between the entities.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

entity-relationship (E-R) diagram

A

In and E-R diagram, rectangles represent entities, and lines represent relationships between connected entities. The dot at the end of a line represents the “many” part of a one-to-many relationship.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

database management system (DBMS)

A

A program, or a collection of programs, through which users interact with a database.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

database design

A

The process of determining the structure of a database.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

forms

A

Screen objects used to maintain, view, and print data from a database.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

9 Advantages of Database Processing

A

1) Getting more info from the same amount of data
2) Sharing data
3) Balancing conflicting requirements
4) Controlling Redundancy
5) Facilitating consistency
6) Improving integrity
7) Expanding security
8) Increasing productivity
9) Providing data independence

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

database administrator

A

Also known as Database Administration (DBA) -
A person or group that keeps the overall needs of the entire organization in mind so that the database can be structured in such a way that it benefits the entire organization, not just a single group and there by balances conflicting requirements.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

integrity constraint

A

A rule that data must follow in the database.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

integrity

A

Maintained by the database because all data in it must satisfy all established integrity constraints.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
17
Q

security

A

The prevention of unauthorized access to the database.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
18
Q

data independence

A

A property of a DBMS that lets you change the structure of a database without requiring you to change the programs that access the database.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
19
Q

4 Disadvantages of Database Processing

A

1) Larger file size
2) Increased complexity
3) Greater impact of failure
4) More difficult recovery

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
20
Q

field

A

A single characteristic or attribute of a person, place, object, event, or idea.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
21
Q

table

A

A collection of fields that describes a person, place, object, event, or idea.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
22
Q

field value

A

The specific content of a field

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
23
Q

record

A

A set of field values for a specific entity.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
24
Q

relational database

A

A collection of related tables.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
25
Q

common field

A

A field that appears on both tables that provides the connection between the tables.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
26
Q

template

A

A predesigned database that includes professionally designed tables, reports, and other database objects that can make it quick and easy for you to create a database.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
27
Q

data type

A
Determines what field values you can enter for the fields.
The data types for Access are:
1) AutoNumber
2) Short Text
3) Long Text
4) Number
5) Date/Time
6) Currency
7) Yes/No
8) Hyperlink
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
28
Q

data type - AutoNumber

A

Automatically a unique number in this field for every record, beginning with number 1 for the first record, the number 2 for the second record, and so on.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
29
Q

data type - Short Text

A

Allows field values containing letters, digits, and other characters, and which is appropriate for identifying numbers, such as visit numbers, that are never used for calculations.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
30
Q

composite key

A

When two or more fields function as the primary key.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
31
Q

foreign key

A

When you include the primary key from on table as a field in a second table to form a relationship.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
32
Q

property of a field

A

1) field’s name
2) data type
3) maximum number of characteristics or digits
4) description
5) valid values
6) other

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
33
Q

caption property

A

Specifies how the field name is displayed in database objects, including table and query datasheets, forms, and reports.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
34
Q

default value property

A

Specifies what value will appear, by default, for the field in each new record you add to a table.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
35
Q

delimited text file

A

A file in which fields of data are separated by a character such as a comma or a tab.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
36
Q

referential integrity

A

A set of rules that Access enforces to maintain consistency between related tables when you update data in a database.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
37
Q

Cascade Update Related Fields option

A

Access permits the change in value to the primary key and changes the appropriate foreign key values in the related table, thereby eliminating the possibility of inconsistent data.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
38
Q

Cascade Delete Related Records option

A

Access deletes the record in the primary table and also deletes all records in related tables that have matching foreign key values. (Use with caution!)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
39
Q

relation

A

A two-dimensional table in which:

1) The entries in the table are single-valued. Each location contains only one value
2) Each column has a distinct name (attribute name)
3) All values in a column are values of the same attribute (all entries must match that column name)
4) The order of columns is immaterial
5) Each row is distinct
6) The order of rows is immaterial

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
40
Q

rows (in a table (relation))

A

Often called records or tuples

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
41
Q

columns (in a table (relation))

A

Often called fields or attributes

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
42
Q

qualify the column names

A

When you combine a column name with a table name (Ex: Rep.RepNum)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
43
Q

query

A

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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
44
Q

Query-By-Example

A

(QBE) - An approach to writing queries that is very visual. Users ask their questions by entering column names and other criteria using an on-screen grid, and data appears on the screen in tabular form.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
45
Q

criteria

A

Conditions that data must satisfy.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
46
Q

criterion

A

A single condition that data must satisfy.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
47
Q

comparison operator

A

Also called a relational operator - Used when you want something other than an exact match. The comparison operators are:

1) = (equal to)
2) > (greater than)
3) < (less than)
4) >= (greater than or equal to)
5) <= (less than or equal to)
6) NOT (not equal to)

48
Q

compound criteria

A

Or compound conditions - A combination of criteria.

49
Q

compound field

A

Or calculated field - A field that is the result of a calculation using one or more existing fields.

50
Q

built-in functions

A

Called aggregate functions - Built in functions such as: Count, Sum, Avg (average), Max (largest value), Min (smallest value), StDev (standard deviation), Var (variance), First, Last.

51
Q

grouping

A

Creating groups of records that share some common characteristics.

52
Q

sort

A

To list the records in a query in a particular way.

53
Q

sort key

A

The field on which records are sorted. It can be more than one field.

54
Q

major sort key

A

The first sort key.

55
Q

minor sort key

A

second sort key.

56
Q

update query

A

A query that changes data. To enable this option, click the Update button in the Query Type group on the QUERY TOOLS DESIGN tab.

57
Q

delete query

A

Permanently deletes all the records satisfying the criteria entered in the query.

58
Q

make-table query

A

Creates a new table using the results of a query.

59
Q

relational algebra

A

Theoretical way of manipulating a relational database. Includes operations that act on existing tables to produce new tables, similar to the way the operations of addition, and subtraction act on numbers to produce new numbers.

60
Q

select (in relational algebra)

A

Takes a horizontal subset of a table, that is, it retrieves certain rows from an existing table and saves them as a new table.

61
Q

project (in relational algebra)

A

Takes a vertical subset of a table, that is, it causes only certain columns to be included in the new table.

62
Q

join (in relational algebra)

A

The core operation of relational algebra, it is the command that allows you to extract data from more than one table.

63
Q

concatenation

A

combination of a row from the first table and a row from the second table that match on the common column.

64
Q

join column

A

The column that two tables have matches on in a JOIN operation.

65
Q

natural join

A

The tables are joined together to form a new table labeled “Temp”. Only matched records appear in the new table.

66
Q

outer join

A

Similar to natural join but it also includes records from each original table that are not common in both tables.

67
Q

Normal Set Operations

A

Relational algebra includes set operations for:

1) union
2) intersection
3) difference

68
Q

union - of tables A and B

A

Is a table containing all rows that are in either table A or table B or in both tables. The tables MUST have the same structure for a union to be appropriate, known as union compatible.

69
Q

intersection - of tables A and B

A

Is a table containing all rows that are common in both tables.

70
Q

difference - of tables A and B

A

Referred to as “A minus B” - Is the set of all rows that are in table A but that are not in table B.

71
Q

union compatible

A

Two tables must have the same structure, as in the same number of columns and corresponding columns represent the same type of data.

72
Q

product

A

Mathematically called the Cartesian product - The table obtained by concatenating every row in the first table with every row in the second table. Every row of table A is matched with every row in table B. If table A has m rows and table B has n rows, the product will have m*n rows.

73
Q

division

A

Most common use is the division of a table with two columns (Table A) by a table with a single column (Table B). The quotient (the result of the division) is a new table with a single column with the name of the column in Table A that was not in Table B. The rows consist of all items in Table A that “match” the items in Table B.

74
Q

Structured Query Language

A

(SQL) - A computer language that provides users with the capacity of querying a relational database.

75
Q

commands (SQL)

A

Used in SQL to obtain the desired results rather than completing an on-screen form. Can be used to create and update tables and retrieve data from tables.

76
Q

CREATE TABLE (SQL command)

A

Used to create a table by describing its layout. The word table is followed by the name of the table to be created and then the names and data types of the columns that make up the table.

77
Q

INTEGER (SQL command)

A

Data type used for numbers without a decimal part.

78
Q

SMALLINT (SQL command)

A

Stores integers but uses less space.

79
Q

DECIMAL(p,q) (SQL command)

A

Stores a decimal number p digits long with q of these digits being decimal places

80
Q

CHAR(n) (SQL command)

A

Stores character string n characters long.

81
Q

DATE (SQL command)

A

Stores dates in the form DD-MON-YYYY

82
Q

SELECT-FROM-WHERE (SQL command)

A

The basic from of an SQL retrieval command.

83
Q

SELECT (SQL command)

A

After this word, you list the fields you want to display in the query results.
Example:
SELECT CustomerName

84
Q

FROM (SQL command)

A

After this word, you list the table(s) that contain the data to display in the query results.
Example:
FROM Customer

85
Q

WHERE (SQL command)

A

After this word, you list any conditions that you want to apply to the data you want to retrieve, such as indicating that the credit limit much be a >, =, <> (not equal), or != (not equal).
Example:
WHERE CreditLimit=10000

86
Q

reserved words (SQL)

A

Certain words using in SQL as command and written in all uppercase.

87
Q

SELECT* (SQL command)

A
  • indicates that you want to include all of the fields in the query results in the order in which they are ordered in the table.
88
Q

compound condition

A

Formed by connecting two or more simple conditions using one or both of the following operators: AND and OR.

89
Q

AND (SQL operator)

A

When used to connect simple conditions, all the simple conditions must be true for the compound condition to be true.
Example:
WHERE Storehouse=’3’
AND OnHand>40

90
Q

OR (SQL operator)

A

When used to connect simple conditions, the compound condition will be true whenever any of the simple conditions are true (inclusive).
Example:
WHERE Storehouse=’3’
OR OnHand>40

91
Q

NOT (SQL operator)

A

Indicates that the condition must be false for a record to appear in the query results.
Example:
WHERE NOT Storehouse=’3’

92
Q

BETWEEN (SQL operator)

A

Indicates the value must be between the listed numbers.
Example:
WHERE Balance BETWEEN 1000 AND 5000

93
Q

Computed Fields

A

You can include fields in queries that are not in the database but whose values you can compute from existing database fields. They can involve addition (+), subtraction (-), multiplication (*), or division (/).
Example:
SELECT CreditLimit-Balance AS AvailableCredit

94
Q

Special Operators (SQL)

A

LIKE and IN - Used when exact matches are not required.

95
Q

LIKE (SQL operator)

A

When you want to know only that the desired value contains a certain collection of characters.
Example:
WHERE Street LIKE “Oxford”

96
Q

IN (SQL operator)

A

Provides a concise way of phrasing certain conditions. Essentially, you can create a set of values and the results will include any that match a value in the set.
Example:
WHERE creditLimit IN (7500, 10000, 15000)

97
Q

wildcards (SQL)

A
? - Used to represent any
individual character.
Example:
T?m, represents the letter T
followed by any single
character, followed by the
letter m and when used
with WHERE, retrieves
records that include the
words TIM, TOM, or T3M.
98
Q

ORDER BY (SQL operator)

A
Used to sort the data in the
way you desire.
ORDER BY CustomerName
(CustomerName is
considered the Sort Key)
99
Q

Built-In Functions (SQL)

A

SQL has the following built in functions: COUNT, SUM, AVG, MAX, and MIN.

100
Q

COUNT and SUM

A

There are two differences between COUNT and SUM - other than the obvious fact that they are computing different statistics. The case of SUM, you must specify the field for which you want a total and the field must be numeric.

101
Q

subquery

A
In some cases, it is useful to obtain the results you want in two stages. You can do so by placing one query inside another. The inner query is called a subquery and is evaluated first.
Example:
SELECT OrderNum
FROM OrderLine
WHERE ItemNum IN
(SELECT ItemNum
FROM Item
WHERE Storehouse='3')
;
102
Q

grouping

A

Creating groups of records that share a common characteristic.

103
Q

GROUP BY (SQL command)

A

Command to have the query results grouped by a particular characteristic.
Example:
GROUP BY RepNum
ORDER BY RepNum

104
Q

HAVING (SQL command)

A
Is to groups what WHERE is to rows, allows you to display only those groups that meet certain criteria.
Example:
WHERE CreditLimit2
ORDER BY RepNum
;
105
Q

joining tables (SQL)

A

To join tables, you will construct the SQL command as follows:

1) In the SELECT clause, list all fields you want to display.
2) In the FROM clause, list all tables involved in the query.
3) In the WHERE clause, give the condition that will restrict the data to be retrieved to only those rows from the two tables that match; that is, you’ll restrict it to the rows that have common values in matching fields.

106
Q

UNION (SQL command)

A

A table containing all rows that are in the first table, the second table, or both tables. The two tables must have the same structure, or be union compatible (same number of fields and the corresponding fields must have the same data types).
Example:
SELECT CustomerNum, CustomerName
FROM Customer
WHERE RepNum=’15’
UNION
SELECT Customer.CustomerNum, CustomerName
From Customer, Orders
WHERE Customer.CustomerNum=Orders.CustomerNum

107
Q

UPDATE (SQL command)

A
Used to make changes to existing data.
Example:
UPDATE Customer
SET Street='1445 Rivard'
WHERE CustomerNum='502'
108
Q

INSERT INTO (SQL command)

A
Allows you to insert data into a table.
Example:
INSET INTO Rep
VALUES
('75','Argy','Dorothy','424 Bournemouth','Grove','CA','90092',0.00,0.06)
109
Q

DELETE (SQL command)

A
Used to delete data from the database.
Example:
DELETE
FROM OrderLine
WHERE ItemNum='DL51'
110
Q

INTO (SQL command)

A

Used to save the results of a query as a table.
Example:
SELECT *
INTO SmallCust ———- Name of table to create
FROM Customer
WHERE CreditLimit,=75000
;

111
Q

pattern match

A

Selects records with a value for the designated field that matches the pattern of a simple condition value.

112
Q

Like comparison operator

A

Selects records by matching field values to a specific pattern that includes one or more of these wildcard characters: asterisk (*), question mark (?), and number symbol (#).

113
Q

wildcard - asterisk (*)

A

Represents a string of characters.

114
Q

wildcard - question mark (?)

A

Represents a single character.

115
Q

wildcard - number symbol (#)

A

Represents any single digit.