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 / nashiinformaticssolutions

• 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 pl sql package?

1029


Can you sum a count in sql?

998


What are the advantages of sql? Explain

1098


What does seeding a database mean?

952


What is nvl?

1063


What are the constraints available in sql?

1046


What are packages in pl sql and also explain its advantages?

1027


differentiate between float and double. : Sql dba

1053


how would you write a query to select all teams that won either 2, 4, 6 or 8 games? : Sql dba

1340


How do I view tables in sql developer?

934


what is a database lock ? : Sql dba

1162


Define commit?

992


What is a parameter query?

1075


how to calculate expressions with sql statements? : Sql dba

1032


What are aggregate and scalar functions?

1017