































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!
































Schema for relation ofdegree (or airity) n
or a set of valid values.
domain.
-^ A row in the CUSTOMER relation is a 4-tuple and wouldconsist of four values, for example:– <632895, "John Smith", "101 Main St. Atlanta, GA 30332","(404) 894-2000">– This is called a 4-tuple as it has 4 values– A tuple (row) in the CUSTOMER relation.•^ A relation is a^ set
of such tuples (rows)
of the relation
-^ R is the^ name^
of the relation
-^ A1, A2, …, An are the
attributes^ of the relation
-^ r(R): a specific
state^ (or "value" or “population”) ofrelation R – this is a^ set of tuples
(rows)
element-of^ dom(Aj)
component values
of a tuple t by:
State of the Relation Populated Table
Schema of a Relation Table Definition
Tuple Row
Domain All possible ColumnValues
Attribute Column Header
Relation Table
Formal Terms Informal Terms
key constraint • Student name cannot be NULL