Logical Database Design Flashcards
Data Model
notation to represent the syntax and semantics of a database
Type of data model
relational model
Relational database schema
defines:
names of tables
attributes of each table
integrity constraints
Relational model structure
in form of relations (tabular)
Each relation has
a name, a sequence of attributes, and a set of tuples
Relation formal definition
a subset of the cartesian product of the domains of the attribute data types
Database schema
finite set of relations
Domain
data type of an attribute, determined by the RDBM
Scheme
defines a relation and its attributes
State
an instance of a relation at a particular time
Null value
used to model a variety of real-world scenarios;
can mean:
value exists but is not known
no value exists
attribute is not applicable