Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

hi,i want t0 knom d syntax for a super key with an example

Answer Posted / shikha

PersonID
PersonID + LastName
PersonID + FirstName
PersonID + DOB
PersonID + LastName + FirstName
PersonID + LastName + DOB
PersonID + FirstName + DOB
PersonID + LastName + FirstName + DOB
LastName + FirstName + DOB
All of these will uniquely identify each record, so each
one is a superkey. Of those keys, a key which is comprised
of more than one column is a composite key; a key of only
one column is a simple key.

A candidate key is a superkey that has no unique subset; it
contains no columns that are not necessary to make it
unique. This table has 2 candidate keys:

PersonID
LastName + FirstName + DOB
Not all candidate keys make good primary keys: Note that
these may work for our current data set, but would likely
be
.

Is This Answer Correct ?    3 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Relational calculus is what type of language?

1013


What is tabulation?

933


What is scrollable cursor?

1014


Call by value and call by reference in procedure and function, with NOCOPY.

1283


Explain the ways to controlling cursor behavior?

901


Can sql server be linked with other servers like oracle?

944


How to configure odbc dsn with different port numbers?

1067


Explain what is lock escalation and what is its purpose?

914


Explain the difference between primary keys and foreign keys?

1001


What are the differences between INNER JOIN, LEFT JOIN and RIGHT JOIN in SQL Server?

1112


Can a table be created inside a trigger?

951


What is reference section?

984


What is store procedure?

1040


What is user-defined inline table-valued function?

926


How to get the query of a table in sql server?

877