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
how can we view column head in first page but not in remaining pages?
if i want to display the name of students such that to which city they belong must have count greaer than two
What is the purpose of firebase?
What is a database string?
Please post the scenerois for writing the complex sql queries , for my practice.Can be any query if you cannot solve.
Which Statement would you use to remove the EMPLOYEE_Id_PK PRIMARY KEY constraint and all depending constraints from the EMPLOYEE table?
what is the role of auditor in auditing data oriented applications?
What do you mean by cluster and non cluster index?
What is database client?
What are the advantages of normalizing a database.
what is the full procedure for using store procedure in informatica7.1?
A lowest level of security by most RDBMS is
What are the validations performed on the source data? If there are junk data available in the source data, how to eliminate it?
Give the syntax of exception handling used in DBMS?
What is the difference between database and server?