What is the difference between the Primary and Foreign key?
Answer Posted / suma
Primary key is unique index and non null coulum in a table.
While foreign key can have repeated values.
| Is This Answer Correct ? | 9 Yes | 1 No |
Post New Answer View All Answers
what is the difference between clustered and non clustered index in sql? : Sql dba
Is foreign key mandatory?
Can you have more than one trigger on a table?
Can we use distinct and group by together?
Is there a way to automate sql execution from the command-line, batch job or shell script?
How to generate a salary slip like jan 1000 1000 feb 1000 2000 ... dec 1000 12000
Explain locks? : Transact sql
Can a foreign key be a duplicate?
What is scope of pl sql developer in future?
Which table is left in join?
Is sql considered coding?
How do you define a foreign key?
What is pl sql record in oracle?
What is sql performance tuning?
What is asqueryable?