Dbms Terminologies To Remember
Dbms Terminologies To Remember
TERMINOLOGIES
TO REMEMBER
RELATION- AN ENTITY THAT IS COMPOSED OF ROWS AND
COLUMNS
TUPLES – REFERS TO THE ROWS OF A RELATION
ATTRIBUTE- REFERS TO THE NAMED COLUMN OF A
RELATION
DOMAIN- SET OF ALLOWABLE VALUES FOR ONE OR
MORE
ATTRIBUTES
DEGREE- THE NUMBER OF ATTRIBUTES THAT A RELATION
CONTAINS
CARDINALITY- REFERS TO THE NUMBER OF TUPLES A
RELATION CONTAINS
RELATIONAL DATABASE- A COLLECTION OF NORMALIZED
RELATION WITH DISTICT RELATION NAMES.
Attribute Attribute Attribute Attribute
Relation or Table
Tuples/row
Formal Alternative Alternative
Terms 1 2
Relational Table File
Tuples Rows Record
Attributes Columns Field
Properties of Relations
1. The relation should have a name that is
distinct from all other relation names in the
relational schema
2. Each cell of the relation contains exactly
one atomic/single value
3. The values of an attribute should all be
coming from same domain
4. Each tuple is distinct. There should be no
duplicated tuple
5. The order of attributes has no significance
6. The order of the tuples has no significance
Relational Keys
Super Key- an attribute or combination of
attributes that uniquely identifies a tuple in
a relation
Candidate Key- a superkey that no proper
subset is a superkey
Primary Key- the attribute that was