Define candidate key, alternate key, composite key?
Answer Posted / viresh rajput
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:-A candidate key uniquely identifies the rows
in a table.there can be more than 1 candidate key in a
table, in which one should be 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 ? | 0 Yes | 0 No |
Post New Answer View All Answers
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?
Explain the role of indexing in databases?
What are the 18 schemas?
Explain about the database management systems.
When installing the datastage7.5x2 edtion iam getting aproblem i.e the cpu count is 2 but the cpu count in installation is one . how can i install in my p.c (system is dual core).
I have a few records all are same structures data, I want to store data in multiple targets how
How to use timestamp datatypes
Hi , any one can help me on the same,this is regarding the Informatica Function doc,i want to know how developer is will develop the mapping. pl forwar the any function doc .just for my references. svlc75@yahoo.co.in
Explain about relational database management systems?
fact table and dimension table containg one to many relationship or many to one relastionship
What is an application role and explain a scenario when you would use one?
How can you log an error to the server event log from a stored procedure?
How to generate OIDS
Why does this query return 0?
Explain the process of the user request and data generating?