Download as txt, pdf, or txt
Download as txt, pdf, or txt
You are on page 1of 1

Qn: Can we have duplicate data in a PK..?

Ans: No

Qn: How many PK per table...?


Ans: Only ONE

Qn: How many UK per table...?


Ans: Many

Qn: Can we have duplicate data in a UK/AK...?


Ans: No

Qn: Can we have duplicate data in a FK...?


Ans: Yes

Qn: Can we have NULLs in a PK..?


Ans: No

Qn: Can we have NULLs in a UK..?


Ans: Yes...ONLY ONE.

Qn: Can we have NULLs in a FK..?


Ans: Yes

Qn: Can we have duplicate dara in a FK..?


Ans: Yes

Qn: How many FK per table...?


Ans: Many

Qn: Can we create a FK using UK...?


Ans: Yes

Qn: Self Referential Table


Ans: A FK is referrring its own tables PK. Then the table is called as Self
Referential Table

Cascade Delete
--------------------
On Off

Cascade Update
--------------------
On Off

You might also like