Define candidate key, alternate key, composite key?

Answer Posted / rajneesh

primary key: should be unique and Not Null
Unique Key: accept 1 null value and unique

Is This Answer Correct ?    3 Yes 7 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How would you design a database for an online site, which would average a million hits a day?

819


You are testing the performance of a query the first time you run the query, the performance is slow. the second time you run the query, the performance is fast. why is this?

759


You have two tables with a one to many join based on a field named id. You need to find records in the parent table that are not represented in the child table. how would you accomplish this?

866


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

1929


Explain about xml databases?

876


Can an extended stored procedure be called from inside a user-defined function?

868


On friday, you issued several insert statements using query analyzer. You then verified the data had been correctly entered with a select statement on monday, your users report that the data is not there what happened?

787


Explain what a database is?

851


In which table collections errors are stored.

2181


Explain about network model?

816


Explain the role of indexing in databases?

909


How can I detect whether a given connection is blocked?

838


Explain about post-relational databases?

805


How to combine two function together?

1902


Write the fastest query to find out how many rows exist in a table?

927