what is primary key,unique key, foreign key? can u teach me
in simple language?
Answer Posted / inderjeet yadav
Primary key:A key which is uniquely indetified a row in a
table and primary key can not be null.
Unique key: A key which is uniquely indetified a row in a
table and but unique key can be null.
Foreign:Primary key of the first table that refering in
second table is know as foreign of second table.
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
Which database does facebook use?
Difference between sql and mysql?
What are different types of data models available? Explain with example?
How many indexes can be created on a table?
What are the types of joins?
What is database collection?
What is odm in database?
can i use the commands "modify" and Change in DB2 to alter my column datatype and its name in a table?
Differentiate between extension & intension?
How is image stored in database?
Differentiate between delete and truncate table?
Is redis in memory database?
Explain artificial key?
What is the relationship that exists inside in E-R diagram?
how do you do sql tuning?