What is difference b/w composit key n primary key and
forigion key?
Answer Posted / reem
A primary key is a column which uniquely identifies the
records in a table.
A foreign key is a column (the child collumn) in a table
which has a corresponding relationship and a dependency on
another collumn (the parent collumn) that is usually in a
different table.
comosit key is more than one attribute can used as aprimary
key
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
Is mysql same as mariadb?
Is there a way to see the files which are stored?
What is mysql default database?
I want to insert userid of a customer,order time,etc in a table called ordermaster with orderid as primary key.Same time the product codes and required quantities (a1,2 and a2 4 and so on)inserted in another table orderdetails with same orderid reference.How the code will be in JSP using MySQL?
What is mysql database extension?
What are the column comparisons operators?
How do I run mysql without installing?
What do you need to connect php to mysql?
How to create trigger in mysql phpmyadmin?
What is pragma autonomous_transaction?
Does mysql use tcp or udp?
What is mysql workbench used for?
Write a query to display even rows in student table using mysql?
How to shut down the server with 'mysqladmin'?
What is truncate in mysql?