Ordering of tuples, Database Management System

In a relation, tuples are not inserted in any definite order. Ordering of tuples is not defined as a part of a relation definition. Though, records may be structured later according to some attribute value in the storage systems. For instance, records in PERSON table may be structured according to PERSON_ID. Such organisation or data depends on the requirement of the underlying database application. Though, for the purpose of display we may get them displayed in the sorted order of age. The following table is sorted by age. It is also worth states here that relational model does not permit duplicate tuples

PERSON

PERSON_ID      NAME                                 AGE              ADDRESS

2                           Sharad Gupta                       33                  Pocket 2, Mayur Vihar.

1                           Sanjay Prasad                      35                  b-4,Modi Nagar

3                           Vibhu Datt                           36                  c-2, New Delhi

Super Keys, Candidate Keys and Primary Keys for the Relations

As discussed in the last section ordering of relations does not matter and all tuples in a relation are unique. Though, can we uniquely recognize a tuple in a relation? Let us talk about the concepts of keys that are primarily used for the purpose as above.

Posted Date: 3/6/2013 5:23:14 AM | Location : United States







Related Discussions:- Ordering of tuples, Assignment Help, Ask Question on Ordering of tuples, Get Answer, Expert's Help, Ordering of tuples Discussions

Write discussion on Ordering of tuples
Your posts are moderated
Related Questions
Aggregation : One limitation of the E-R diagram is that they do not permit representation of relationships between relationships. In such a case the relationship along with its ent

Every School has many teachers and many students. Each student is assigned to one school and each teacher works for one school only. Each teacher teaches more than one subject but

An entity type usually has an attribute whose values are distinct for every individual entity in the collection. Such an attribute is known as a key attribute and its values can be

These are the binary operations; i.e., each is applied to two relations or sets. These two relations can be union compatible excluding in case of Cartesian product. Two relations R

i need to submit in this topic.

Differentiate sub-class and super-class? The specialization of a class is known as subclasses.eg: employee is a subclass of person and teller is a subclass of employee. Convers

Question: (a) What are decision support systems, and what role do they play in the business environment? (b) Data mining is a knowledge discovery process of automated extr

ER diagram on cosmetics

What is assertion? Mention the forms available. An assertion is a predicate expressing a condition that we wish the database always to satisfy. Domain integrity constraints.

What are axioms? Axioms or rules of inference give a simpler technique for reasoning about