what is primary key,unique key, foreign key? can u teach me
in simple language?
Answer Posted / teju
PRIMARY KEY :
IN THE TABLE we can find only one record as
uniqely & also it is not null.
unique key:
uk is to search any record as uniquely& when it
is declared it should be only one null values.
Fk:
fk is to maintain the relations bet two tables
as an duplicate values.means to not null.
e.g
1> stud(stud_id,stud_name);
2> stud_det(stud_id,addr);
In this table stud_id is an pk & In the stud_det as
stud_id is used as an duplicate.
Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
What happens when shared and exclusive locks are applied on data item?
how to configure oracle 10g in java1.5 and tell me know how to set class path in system?
What is the function of cluster index?
What is the difference between a stored procedure and a query?
How do I setup a database connection?
What is the Difference Primary key and Unique Key
hai if any one having any project sample table structure please froward to my mail id tauseefwst@yahoo.com
issues involved in modeling and building data werahouses
Is database a hardware or software?
What are the various ways to execute a query in teradata?
Give the syntax of exception handling used in DBMS?
What do you mean by foreign key and primary key?
what is transaction state, buffer management, shadow paging
List various types of log-based recovery in DBMS.
What is dialect in database?