Test 1 Flashcards
What is an attribute?
They are a name and a data type for data
database is a tree-like hierarchy, folders with subfolders
Hierarchical
database is one big hashmap
Key-Value Pair
What is the minimum number of attributes in a relation?
0 called an anti table
A relation can be pictured as a…
table
a set of attributes whose values with always uniquely identify a tuple in the relation
candidate key
constraints to prevent inconsistencies
Data Integrity
defines what sort of data is stored
Data Definition Language
a super-set of a candidate key
super-key
The columns of a table are called …
attributes
a set of possible values
domain
What are the candidate keys for a tuple with no attributes?
The empty set
Every true piece of information is in the database
No false data is in the database
Using null violates the closed universe assumption
Null represents missing information
Closed universe assumption
What is the maximum number of attributes in a relation?
No maximum
What is a domain
A set of values and a data type