Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

What is a primary key, and how is it different from a unique key?

Answer Posted / glibwaresoftsolutions

• Primary Key:
o Ensures each row in a table is unique.
o Cannot contain NULL values.
o A table can have only one primary key.
• Unique Key:
o Ensures all values in a column are unique.
o Can contain a single NULL value.
o A table can have multiple unique keys.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is sql a dbms?

940


Write an sql query to select all records from the table?

970


Is postgresql a server?

997


What pl/sql package consists of?

1033


What is coalesce in sql?

975


How exception handling is done in advance pl/sql?

920


How to run sql functions in pl/sql?

992


What are the advantages of sql? Explain

1054


What are all the different normalizations?

972


how to add a new column to an existing table in mysql? : Sql dba

1003


What are the types of index in sql?

1016


What is offset in sql query?

1073


What is difference between stored procedures and application procedures?

959


What is dcl in sql?

907


describe transaction-safe table types in mysql : sql dba

946