1 Answer - Sort by: Date | Rating
The relational model is based on the concept of a relation. A relation is a table, which consists of a set of named columns and a set of unnamed rows. The tables are the most important part of the database and hold information about objects. A relation is represented as a two dimensional table, in which rows of the table indicate the individual records and the table columns indicate the attributes.
For example, to store the data of student, a relation is represented by the 'Student' table. This table has column attributes Roll-No, Name and city. Each column contains values of the attribute e.g., the Name column contains only the names of students. There are four rows in the table. It means that records of four students are represented.
Therefore, in relational model terminology, we define the following terms as:
Each column of a relation has a heading, called 'field name'. The named columns of the relation are called attributes. In the above 'Student' relation, the attribute names are Roll-No, Name and City.
Degree: The number of attributes in a relation is called its degree. In the
"Student" relation, the degree is 3. A relation with only one column would have degree one and is referred to as unary relation. Similarly, a relation with two columns is called binary and a relation with three columns is called ternary relation.
Tuple:Each row of the relation is called tuple. Each tuple consists of all attribute values that are related to a particular entity.
Cardinality:The number of tuples in the relation is called cardinality. In the 'Student' relation, there are 4 tuples (rows or records), so the cardinality of the relation is 4.
Domain: The range of acceptable values for an attribute is called the domain for the attribute. Two or more attributes may have the same domain.
A relation schema is used to describe a relation. It is made up of a relation name and a list of attributes..
For example, to store the data of student, a relation is represented by the 'Student' table. This table has column attributes Roll-No, Name and city. Each column contains values of the attribute e.g., the Name column contains only the names of students. There are four rows in the table. It means that records of four students are represented.
Therefore, in relational model terminology, we define the following terms as:
Each column of a relation has a heading, called 'field name'. The named columns of the relation are called attributes. In the above 'Student' relation, the attribute names are Roll-No, Name and City.
Degree: The number of attributes in a relation is called its degree. In the
"Student" relation, the degree is 3. A relation with only one column would have degree one and is referred to as unary relation. Similarly, a relation with two columns is called binary and a relation with three columns is called ternary relation.
Tuple:Each row of the relation is called tuple. Each tuple consists of all attribute values that are related to a particular entity.
Cardinality:The number of tuples in the relation is called cardinality. In the 'Student' relation, there are 4 tuples (rows or records), so the cardinality of the relation is 4.
Domain: The range of acceptable values for an attribute is called the domain for the attribute. Two or more attributes may have the same domain.
A relation schema is used to describe a relation. It is made up of a relation name and a list of attributes..
0
1
- What Do You Do If This Happens?details Below.
- How To Get Past The Roadblock On Pokemon Platinum?
- Who Has A Needforspeed Shift Registration Code That Will Work?
- Does Anyone Think I'm Worthless? Because I Feel Like I Am
- How Do I Hook Up The Speakers To The Home Theatre Only 3 Of Them Work And 3 Of Them Do Not So What Should I Do?
- How To Connect My Computer With A Friend's Computer?
- How Do You Activate The Shiny Pokemon Cheat?
- Who Does He Play For Now?
- How To Install Zoo Tycoon 2 Complete Collection?
- On Facebook How Can I Tell If I Have Been Deleted From Viewing The Public Page Or The Account Has Expired?
- What's The Model Code?
- How Can I Tell If I Have Been Deleted From Looking At Someones Page Or The Account Has Been Deleted On Facebook?
- I Am Going To Do A Survey To See If Youtube Is Good,I Want Your Says.Personally I Hate It!What Do You Think?
- How Do I Know If I/ve Been Deleted From Facebook Or The Account Or The Account Has Been Deleted?
- Can You Play Has A Dog On Sims Pets For Ps2?
- What's The Code To Change Last Login Date?
- How Many Rows Are There In A Excel Sheet?
- How Do I Become A Fan Of Justin On His Facebook?
- How Do You Get The F***ing Azure Flute In Pokemon Diamond?
- Is There A Better Game Than Clubpenguin?
- I Downloaded A Virus Scanner And Now When I Pull Up A File It Automatically Disappears What Do I Do To Fix That?
- Can Any Body Access My Email,and How Would I Know?
- I Have The Internal Error Code 80410a0b. How Do I Fix It?
- The Picture On My Rear Projection Tv Looks Concave With Double Vision What Could Cause This Problem?
- Can U Give Me A Ipod For Christmas?

New Comment - Comments are editable for 5 min.