hsk srinivas


{ City } hyderabad
< Country > india
* Profession * employeeq
User No # 86342
Total Questions Posted # 0
Total Answers Posted # 1

Total Answers Posted for My Questions # 0
Total Views for My Questions # 0

Users Marked my Answers as Correct # 1
Users Marked my Answers as Wrong # 1
Questions / { hsk srinivas }
Questions Answers Category Views Company eMail




Answers / { hsk srinivas }

Question { TCS, 174431 }

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


Answer

dublicate values- means two same values not allowed

primary key:does not allow null values and does not allow
dublicate v
alues
-reapeated values and null values not allowed
-we can use primary key only once in a table

unique key:
-reapeated values not allowed as per primary key.
-but the difference is null values are allowed
-another difference is we can declare more thatn one
unique column in a table.primary is not allowed

Is This Answer Correct ?    1 Yes 1 No