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

When a primary key constraint is included in a table, what other constraints does this imply?

1022


Is sql server is free?

1017


What are the different ways you can create databases in sql server?

1155


is there a column to which a default can't be bound? : Sql server database administration

1054


Explain what is scheduled job and how to create it?

1026


Explain throw statement in sql server 2008?

1054


Write an sql query to find first weekday of the month?

975


How is table type constraint applied to a table?

1025


What are the elements of dbms?

1010


What is deploy, process and build? : sql server analysis services, ssas

1156


What happens if strings are casted into wrong code pages in ms sql server?

1167


Why truncate is ddl command?

1116


what is a default tcp/ip socket assigned for sql server? : Sql server database administration

1114


Explain the functionalities that views support?

1162


What is table join?

1172