Infoman Reviewer Flashcards
Is used extensively in mathematics to provide a framework, can be verified as either true or false
Predicate Logic
is a part of mathematical science that deals with
sets, or groups of things, and is used as the basis for data
manipulation in the relational model
Set Theory
relational model has three (3) components
- A logical data structure represented by relations
- A set of integrity rules to enforce that the data is consistent
and remains consistent over time - A set of operations that defines how data is manipulated
is as a two-dimensional structure composed of
rows and columns
table (relation)
represents data about an entity.
e row (tuple
Each table column represents an a
attribute,
Each
column has a specific range of values known as the attribute
.
domain
is an attribute or group of attributes that determines the
values of other attributes. For example, an invoice number identifies
all of the invoice attributes, such as the invoice date and the
customer name
key
is the state in which knowing the value of an
attribute makes it possible to determine the value of another. It is
based on the relationships among the attributes.
Determination
means that the value of one or more
attributes determines the value of one or more other attributes.
Functional dependence
The attribute whose value determines another is called the
determinant or the key.
The attribute whose value is determined
by the other attribute is called the
dependent
is a key that is composed of more than one
attribute.
composite key
An attribute or combination of attributes that
uniquely identifies any row in the table
Superkey
A superkey without any unnecessary attributes
Candidate Key
A candidate key selected to uniquely identify all
other attribute values in any given row; cannot
contain null entries
Primary Key
An attribute or combination of attributes in one table
whose values must either match the primary key in
another table or be null.
Foreign Key
An attribute or combination of attributes used strictly
for data retrieval purposes.
Secondary Key
Integrity Rules
An entity integrity is the condition in which each row in a table has
its own unique identity.
* A referential integrity is the conditional in which every reference to
an entity instance by another entity instance is valid.
* Integrity rules are followed to maintain a good database design
To avoid nulls, special codes called ______ are used to indicate the
absence of some value.
flags
is a set of mathematical principles that form the
basis for manipulating relational table contents.
Relational algebra
The use of relational algebra operators on existing relations (tables)
produces new relations is called
closure
The condition to be evaluated is also known as
predicate
Retrieves a subset of rows
SELECT σ
Syntax σ CONDITION (TABLE)