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

what is normalization? : Sql dba

1137


Is sql a backend?

1071


Why are sql stored procedures used?

1093


What is left join in postgresql?

1090


What is the least restrictive isolation level? : Transact sql

1105


What is trigger in pl sql with examples?

1081


Does google use sql?

1006


Can we use insert statement in function?

1047


What is the difference between rollback and rollback to statements?

1099


How can you fetch common records from two tables?

1102


What is AUTH_ID and AUTH_USER in pl/sql ?

2233


In what condition is it good to disable a trigger?

1069


Can we use distinct and group by together?

1103


What is a file delimiter?

1162


What are the different ways to optimize a sql query?

988