Term
|
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
|
Definition
each column has a specific range of values known as the attribute domain. |
|
|
Term
|
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
|
Definition
candidate key
a superkey without unneccesary attributes, a minimal superkey.
|
|
|
Term
|
Definition
closure
the property of relational operators.
the use of relational algebra operators on existing relations (tables) produces new relations. |
|
|
Term
|
Definition
|
|
Term
|
Definition
|
|
Term
|
Definition
|
|
Term
|
Definition
|
|
Term
|
Definition
|
|
Term
|
Definition
|
|
Term
|
Definition
|
|
Term
|
Definition
|
|
Term
full functional dependence
p63 |
|
Definition
|
|
Term
functional dependence
p62 |
|
Definition
|
|
Term
|
Definition
|
|
Term
|
Definition
|
|
Term
|
Definition
|
|
Term
|
Definition
INNER JOIN
only returns matched records from the tables that are being joined. |
|
|
Term
|
Definition
JOIN COLUMNS
common columns as the result of a join, (step 2=select) |
|
|
Term
|
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
|
Definition
any attribute that is part of a key |
|
|
Term
|
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
|
Definition
LINKING TABLE
the implementation of a composite entity
A CONNECTOR FOR TWO TABLES
CAN CONVERT M:N to 1:M
|
|
|
Term
|
Definition
INNER JOIN
returns ONLY matched records from the tables that are being joined. |
|
|
Term
|
Definition
|
|
Term
|
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
|
Definition
|
|
Term
|
Definition
OUTER JOIN
returns all matched records plus all the unmatched records leaving the values from the other table as NULL |
|
|
Term
|
Definition
PREDICATE LOGIC
a mathematical framework where something can be verified as either TRUE OR FALSE |
|
|
Term
|
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
|
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
|
Definition
RELATIONAL ALGEBRA
defines the theoretical way of manipulating tables using 8 operators:
- SELECT
- PROJECT
- JOIN
- INTERSECT
- UNION
- DIFFERENCE
- PRODUCT
- DIVIDE |
|
|
Term
|
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
|
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
|
Definition
SECONDARY KEY
used strictly for data retrieval purposes. |
|
|
Term
|
Definition
SET THEORY
a mathematical science that deals with sets, or groups of things.
BASIS FOR DATA MANIPULATION IN THE RELATIONAL MODEL. |
|
|
Term
|
Definition
SUPERKEY
any key that uniquely identifies each row.
an attribute (or collection of attributes) that unique indentifies each entity in a table.
|
|
|
Term
|
Definition
SYNONYM
the use of different names to describe the same object
i.e., car and auto |
|
|
Term
|
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
|
Definition
THETA JOIN
a join operator that links tables, using an inequality comparison operator in the join condition
( <, >, <=, >= ) |
|
|
Term
|
Definition
TUPLE
a TABLE ROW
represents a single entity occurance within the entity set. |
|
|
Term
|
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
|
Definition
UNIQUE INDEX
an index in which the index key:
HAS ONLY ONE VALUE (row) ASSOCIATED WITH IT
|
|
|
Term
|
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
|
Definition
PROJECT
yields all values for selected attributes.
VERTICAL SUBSET OF A TABLE. |
|
|
Term
|
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. |
|
|