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...

Explain the Difference Between a Primary Key and a Foreign Key.

Answer Posted / hr@tgksolutions.com

Each record in a table is uniquely identified by its primary key, which also guarantees data integrity. There can only be one primary key per table, which guarantees that every record is distinct.
Conversely, a foreign key refers to the primary key in the associated table to establish a connection between two tables. By guaranteeing the validity of the link between the tables and the consistency of the data, this relationship aids in preserving referential integrity between them.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why rdbms is called relational?

859


What is an advantage of a database?

978


What is 2nf and 3nf?

881


How do you create a report in a database?

801


What is father dbms?

1279


How to detect applications and users that hold transactions open too long?

841


Define database model.

980


What is order by clause?

869


What are the types of database explain each of them briefly?

873


Explain a join between tables?

982


How can you perform pattern matching in sql?

936


What do database languages do?

887


What is rdbms architecture?

854


What is query in rdbms?

883


Differentiate between nested loop, hash loop and merge join.

867