what is primary key,unique key, foreign key? can u teach me
in simple language?

Answer Posted / rama

primary key:primary key is not allowed null values and
duplicate values.
unique key: this key allows null values but does not allow
duplicate values.
foreign key:
this key is used to refer another table.(i.e)other table
primary key values is used in foreign key table.it makes
relation ship between two tables.

Is This Answer Correct ?    19 Yes 10 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How many indexes can be created on a table?

792


How is image stored in database?

752


How to implement database security?

695


if i want to display the name of students such that to which city they belong must have count greaer than two

1962


How many types of locks are present in a database?

785






What is sharded database?

678


What is the purpose of TNS?

786


What are different types of blocks used in stored procedure?

807


aht is the difference b/w network & hierarchial & relational dbms????

1957


What are the types of indexes that are present inside a database?

828


wHat Is THE difference between MOVEL and MOVEL(P)……….. CAN ANYONE EXPLAIN ME..

2718


how can we view column head in first page but not in remaining pages?

1796


On startup, the transaction log of a database has filled and recovery has suspended, what can I do?

737


There are three servers are run by Oracle, MS Access and .Net. What are the procedure fetching the values of two variables from two servers among these?

1875


What is the use of default key?

831