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

How to customize error conditions.

1895


Explain about relational operator join?

797


I have a few records all are same structures data, I want to store data in multiple targets how

2348


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

1880


What is database design and development?

791


There is a trigger defined for INSERT operations on a table, in an OLTP system. The trigger is written to instantiate a COM object and pass the newly insterted rows to it for some custom processing. What do you think of this implementation? Can this be implemented better?

2187


What are the types of database model?

784


How long can an error message be in raiseerror function?

758


What are the 18 schemas?

820


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

1995


Explain about the storage and physical database design?

709


Why does this query return 0?

791


In which database can extended stored procedures be added?

698


Which four data types cannot be used as a return type from a user-defined function?

798


What is dbms and its application?

751