What is the diff. bwt. primary key and unique key?

Answer Posted / janhvee

diff. between primary key and unique is unique key can be
null but primary key can't be null.

one table can have only one primary key but unique key can
be multiple keys

Is This Answer Correct ?    17 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is database in php mysql?

688


What is mysql_query?

613


What is 1nf 2nf 3nf?

709


What is view in mysql?

740


How to display odd rows in student table in mysql?

637


What is logs in mysql?

650


How can you import tables from a sql file into a database by using the mysql client?

725


How to Join tables on common columns.

833


What is the size of mysql database?

675


How can I remotely connect to mysql database?

669


What is the usage of regular expressions in mysql?

668


What are different types of queries?

673


How to calculate the difference between two dates?

710


How to create and drop view in mysql?

682


What are the types of queries?

670