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

Explain sql server authentication modes?

1125


How do I find my localdb version?

986


What do you understand by intent locks?

1008


What is merge join?

1194


I have triggers,views,functions,stored Procedures for a table. When I am dropping that table which objects are deleted?

1137


Why the trigger fires multiple times in single login?

1205


What is a benefit of using an after insert trigger over using a before insert trigger?

983


Write an sql query to sort a table according to the amounts in a row and find the second largest amount.

923


What programming language would you use to create embedded functions in ssrs?

184


What is master database? : SQL Server Architecture

1017


What is the difference function and stored procedure?

1054


What are the properties of the relational tables?

879


Can we call future method from trigger?

937


What is the order in which the sql query is executed?

940


Can you always create a cache of a report?

172