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



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

Answer / 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

More SQL Server Interview Questions

Find nth lowest salary or get nth lowest salary?

0 Answers  


How would we use distinct statement? What is its use?

0 Answers  


How do I start sql server?

0 Answers  


What is difference between view and materialized view?

0 Answers  


How to know whether our backup is succesfully taken?

1 Answers  


How send email from database?.

3 Answers   CarrizalSoft Technologies, Merrill Lynch,


On a windows server 2003 active – passive failover cluster, how do you find the node which is active?

0 Answers  


What are the purpose of Normalisation?

0 Answers   HCL,


How does using a separate hard drive for several database objects improves performance right away?

0 Answers  


What are the different types of triggers in SQL SERVER?

0 Answers  


Does sql server 2000 full-text search support clustering?

0 Answers  


How many types of database relationship in sql server?

0 Answers  


Categories