Shared Flashcard Set

Details

-Database Systems: Design, Implementationa and Management; 3
Key Terms, CH03
47
Computer Science
Graduate
02/10/2010

Additional Computer Science Flashcards

 


 

Cards

Term

associative entity

 

p81

 

Definition

aka composite entity, bridge entity, associative entity

 

the structure includes - as foreign keys - AT LEAST the primary keys of the tables that are to be linked.

Term

attribute domain

 

p60

Definition
each column has a specific range of values known as the attribute domain.
Term

bridge entity

 

p81

Definition

aka composite entity, bridge entity, associative entity

 

Used to avoid the problems with M:N (many to many) relationships.

 

Links tables that were originally related in an M:N relationship.

 

Structure includes: as foreign keys, at least the primary keys of the tables that are to be linked.

Term

candidate key

 

p64

Definition

candidate key

 

a superkey without unneccesary attributes, a minimal superkey.

 

 

Term

closure

 

 

p68

Definition

closure

 

the property of relational operators.

 

the use of relational algebra operators on existing relations (tables) produces new relations.

Term

comoposite entity

 

p81

Definition
Term

composite key

 

p63

Definition
Term

data dictionary

 

p74

Definition
Term

determindation

 

p62

Definition
Term

domain

 

p61

Definition
Term

equijoin

 

 

p72

Definition
Term

flags

 

 

p68

Definition
Term

foreign key

 

p65

Definition
Term

full functional dependence

 

 

p63

Definition
Term

functional dependence

 

p62

Definition
Term

homonym

 

p74

Definition
Term

index

 

p86

Definition
Term

index key

 

p86

Definition
Term

inner join

 

p72

Definition

INNER JOIN

 

only returns matched records from the tables that are being joined.

Term

join column(s)

 

p71

Definition

JOIN COLUMNS

 

common columns as the result of a join, (step 2=select)

Term

key

 

p62

Definition

KEY

 

consists of one or more attributes that determine other attributes.

 

EX.: an inoice number indentifies all of the invoice attributes such as the invoice date and the customer name.

Term

key attribute

 

p63

Definition
any attribute that is part of a key
Term

left outer join

 

p73

Definition

LEFT OUTER JOIN

 

if joinging CUSTOMER and AGENT, yields all the rows from CUSTOMER, even those that do not have a matching value.

Term

linking table

 

p82

Definition

LINKING TABLE

 

the implementation of a composite entity

 

A CONNECTOR FOR TWO TABLES

 

CAN CONVERT M:N to 1:M

 

 

Term

inner join

 

p71

Definition

INNER JOIN

 

returns ONLY matched records from the tables that are being joined.

Term

null

 

 

p64

Definition
Term

natural join

 

p71

Definition

NATURAL JOIN

 

links tables by selecting only the rows with common values in their common attributes

 

three steps

 

1. a PRODUCT of the tables is created

2. a SELECT is performed on the result

3. a PROJECT is performed to yield a single copy of each attribute, eliminating duplicate columns

Term

null

 

p64

Definition
NO DATA ENTRY AT ALL
Term

outer join

 

p72

Definition

OUTER JOIN

 

returns all matched records plus all the unmatched records leaving the values from the other table as NULL

Term

predicate logic

 

 

p59

Definition

PREDICATE LOGIC

 

a mathematical framework where something can be verified as either TRUE OR FALSE

Term

primary key (PK)

 

p61

Definition

PRIMARY KEY

 

a candidate key selected to uniquely indentify all other attribute values in any given row.

 

CANNOT CONTAIN NULL ENTRIES

EACH TABLE MUST HAVE ONE

 

Term

referential ingreity

 

p66

Definition

REFERENTIAL INTEGRITY

 

means that if the foreign key contains a value, that value refers to an existing valid tuple (row) in another relation.

Term

relational algebra

 

p68

Definition

RELATIONAL ALGEBRA

defines the theoretical way of manipulating tables using 8 operators:

 

- SELECT

- PROJECT

- JOIN

- INTERSECT

- UNION

- DIFFERENCE

- PRODUCT

- DIVIDE

Term

relational schema

 

65

Definition

RELATIONAL SCHEMA

 

textual representation of the database tables where each table is listed by its name followed by the list of its attributes in parenthesis.

 

VENDOR (VEND_CODE, VEND_CONTACT, VEND_AREACODE)

Term

right outer join

 

p73

Definition

RIGHT OUTER JOIN

 

in a pair of tables to be joined, yields all the rows of the right table, including the ones with no matching values in the other table.

 

IE: a right outer join of CUSTOMER with AGENT will yield all AGENT rows, including ones that do not have a matching CUSTOMER row.

Term

secondary key

 

p66

Definition

SECONDARY KEY

 

used strictly for data retrieval purposes.

Term

set theory

 

p59

Definition

SET THEORY

 

a mathematical science that deals with sets, or groups of things.

 

BASIS FOR DATA MANIPULATION IN THE RELATIONAL MODEL.

Term

superkey

 

p63

Definition

SUPERKEY

 

any key that uniquely identifies each row.

 

an attribute (or collection of attributes) that unique indentifies each entity in a table.

 

Term

synonym

 

p74

Definition

SYNONYM

 

the use of different names to describe the same object

 

i.e., car and auto

Term

system catalog

 

p74

Definition

SYSTEM CATALOG aka DATA DICTIONARY

 

contains all required metadata.

 

A detailed system data dictionary that describes all objects within the database, including data about:

- table names

- table's creator and creation date

- number of columns in each table

- the data type associated with each column

- index filenames

0

Term

theta join

 

p72

Definition

THETA JOIN

 

a join operator that links tables, using an inequality comparison operator in the join condition

 

( <, >, <=, >= )

Term

tuple

 

p60

Definition

TUPLE

 

a TABLE ROW

 

represents a single entity occurance within the entity set.

Term

union-compatible

 

p69

Definition

UNION-COMPATIBLE

 

when TWO OR MORE ROWS share the same number of columns and when their corresponding columns share the same (or compatible) domains

Term

unique index

 

p87

Definition

UNIQUE INDEX

 

an index in which the index key:

 

HAS ONLY ONE VALUE (row) ASSOCIATED WITH IT

 

 

Term
SELECT
Definition

SELECT aka RESTRICT

 

yields values for all rows found in a table that satisfy a given condition.

 

Can be used to:

- List all the row values

- List ONLY those row values which match criteria

 

YIELDS HORIZONTAL SUBSET OF A TABLE

Term
PROJECT
Definition

PROJECT

 

yields all values for selected attributes.

 

VERTICAL SUBSET OF A TABLE.

Term
UNION
Definition

UNION

 

combines all rows from TWO tables, excluding duplicate rows.

 

The tables must have the same attribute characteristics (the columns and domains must be compatible) to be used in a UNION.

Supporting users have an ad free experience!