1 Answer - Sort by: Date | Rating
A relation is defined as a set of tuples. By definition, a relation has no duplicate tuples. It means that no two tuples can have the same combination of values for all their attributes. An attribute (or combination of attributes) of a relation is selected as a key that uniquely identifies the tuples of a relation. The value of a key attribute can be used to identify uniquely each tuple in the relation.
A relation schema may have more than one key. In this case, each of the keys is candidate key. It is common to designate one of the candidate keys as the primary key of the relation. In this case, other candidate keys are called the secondary keys. A primary key is a candidate key whose values are used to identify tuples in the relation. The primary key is underlined in relation schema, Each relation schema must have a primary key. A primary key must not contain null values (undefined values).
A foreign key is an attribute or combination of attributes of a relation that is the primary key of another relation. For example, Roll-No may be an attribute of 'Marks' relation but not the primary key of 'Marks'. However, it is the primary key of the 'Student' relation. In 'Marks' relation, Roll-No attribute will be referred to as foreign key.
A relation schema may have more than one key. In this case, each of the keys is candidate key. It is common to designate one of the candidate keys as the primary key of the relation. In this case, other candidate keys are called the secondary keys. A primary key is a candidate key whose values are used to identify tuples in the relation. The primary key is underlined in relation schema, Each relation schema must have a primary key. A primary key must not contain null values (undefined values).
A foreign key is an attribute or combination of attributes of a relation that is the primary key of another relation. For example, Roll-No may be an attribute of 'Marks' relation but not the primary key of 'Marks'. However, it is the primary key of the 'Student' relation. In 'Marks' relation, Roll-No attribute will be referred to as foreign key.
0
0
- How Many Keys Are There?
- What Do The F Keys Do?
- What Are The Different Keys For?
- What Are Keys?
- Can You Tell Me What Are The Keys R1+L1,L2+R2 And L,R,B,Y,Z In Pc?
- What Are The Alternate Keys For The L1+R1,L2+R2?
- What Are The Different Keys Of A Computer?
- Do You Think There Is Two Of A Kind Of Keys That Are The Same Out There?
- Why Do The F And G Keys Have Bumps?
- Where Did The Last Name Keys Originate From?
- How To Block The Internet Explore?
- How Do I Get A Free Refill Without Buying One From The Store?
- What Is Hard Disk Drive?
- What Is The Negative Impact Of Home Stations On Our Economy?
- How Can I Delete My Former Account And Create A New One?
- What Are The Three Model Level?
- Where Can You Spot Wormadam?
- How Do I Get Text From Phone To Computer From A Motorazr2?
- How To Confirm A Email Coming From A Particular Email?
- What Cause The Eruption Of Mt Fuji?
- What Is The 999 Joy Seed Code On Red Rescue?
- How To Send Photos From Internet To My Id?
- What Is A Good Name For A Robot\?
- Is Each Serial ATA Connector And Cable Is Dedicated To A Single Drive?
- The Hard Drive Controller Is ____ On A Circuit Board On Or Inside The Drive Housing?
- For Today's Hard Drives, The Hard Drive Controller Is ____ On A Circuit Board On Or Inside The Drive Housing?
- Can A Parallel ATA Connector Can Accommodate One Data Cable For Two Drives?
- Still Hard About No Help The Code From Facebook.com?
- What Are The Function Of F-Secure Anti Virus 2006?
- Can You Tell Me Pokemon Light Platinum Rare Candy Cheat?
- Who Have Made The Keyboard Of Computer?
- Why Should Be A Network Security Policy In Networked Companies?
- Find Out The Different Operating System For Super Computer,main Frame Computer, Server Machine, Micro Computer, Pen Based Computer?
- How Do You Say Connect In African?
- What Is The Centralised System Of Management?

New Comment - Comments are editable for 5 min.