Define candidate key, alternate key, composite key?

Answer Posted / piyush kathayat

primary key:- The attribute or combination of attributes
that uniquely identifies a row or record.

Foreign Key:- an attribute or combination of attribute in a
table whose value match a primary key in another table.

Composite key:- A primary key that consistsof two or more
attributes is known as composite key

candidate key:- is a column in a table which has the
ability to become a primary key.

Alternate Key:- Any of the candidate keys that is not part
of the primary key is called an alternate key.

Is This Answer Correct ?    587 Yes 62 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain the role of indexing in databases?

640


Explain the rollup operator?

610


Hi my program is accesing data from two db2 databases.what is the bind card for this program to genarate plan? how to specify the two owners and two qualifiers in bind card

1672


Does QTP Support the Propjects which are running in Dot Net? As we are starting with new project in Dot net need to use automation tool?Please advice & let me know what would be the best.

1599


How to customize error conditions.

1699






How can you fix a poorly performing query?

620


If a column is an image value type, how you can compare column values? How can you use this column in join clause?

585


Any sample or model question of punjab national bank for deputy manger IT or any sample of PNB.any1 plz do send on

1815


How to generate OIDS

1660


What is dbms and its application?

552


Explain about query and reporting.

1684


1. Using the XML Document below, with the URI “recipe.xml” define the following queries in XQuery: a.) Give the names of all breakfast in the menu. b.) Select breakfasts that have price lower than $7.00? Belgian Waffles $5.95 two of our famous Belgian Waffles with plenty of real maple syrup 650 Strawberry Belgian Waffles $7.95 light Belgian waffles covered with strawberries and whipped cream 900 Berry-Berry Belgian Waffles $8.95 light Belgian waffles covered with an assortment of fresh berries and whipped cream 900 French Toast $4.50 thick slices made from our homemade sourdough bread 600 Homestyle Breakfast $6.95 two eggs, bacon or sausage, toast, and our ever-popular hash browns 950

1654


What is DB Development software?

1611


How long can an error message be in raiseerror function?

546


Explain about relational database management systems?

567