What is a Relation Schema & a Relation? - Database interview

What is a Relation Schema & a Relation? - Database interview
A relation Schema denoted by R(A1, A2, …, An) is made up of the relation name
R & the list of attributes Ai that it contains. A relation is defined as a set of tuples. Let r
be the relation which contains set tuples (t1, t2, t3, ..., tn). Each tuple is an ordered list of n-values t=(v1,v2, ..., vn).
It is the number of attribute of its relation schema.

No comments: