Relational Database - Relations or Tables

Relations or Tables

A relation is defined as a set of tuples that have the same attributes. A tuple usually represents an object and information about that object. Objects are typically physical objects or concepts. A relation is usually described as a table, which is organized into rows and columns. All the data referenced by an attribute are in the same domain and conform to the same constraints. The relational model specifies that the tuples of a relation have no specific order and that the tuples, in turn, impose no order on the attributes. Applications access data by specifying queries, which use operations such as select to identify tuples, project to identify attributes, and join to combine relations. Relations can be modified using the insert, delete, and update operators. New tuples can supply explicit values or be derived from a query. Similarly, queries identify tuples for updating or deleting. It is necessary for each tuple of a relation to be uniquely identifiable by some combination (one or more) of its attribute values. This combination is referred to as the primary key.

Read more about this topic:  Relational Database

Famous quotes containing the words relations and/or tables:

    In the relations of a weak Government and a rebellious people there comes a time when every act of the authorities exasperates the masses, and every refusal to act excites their contempt.
    John Reed (1887–1920)

    Moving between the legs of tables and of chairs,
    Rising or falling, grasping at kisses and toys,
    Advancing boldly, sudden to take alarm,
    Retreating to the corner of arm and knee,
    Eager to be reassured, taking pleasure
    In the fragrant brilliance of the Christmas tree....
    —T.S. (Thomas Stearns)