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

What is metadata and why should I use it?

930


Can I use google sheets as a database?

972


Enlist the advantages of dbms.

967


what are parameter, we can check after creating a database in terms of QC and for each tables what should be the parameters for QC and QA?

2622


What do you understand by ‘atomicity’ and ‘aggregation’?

902


What is a field in database?

913


i have cleared the nic test...please send me the interview questions if anyone have them.... my email id is v84priya@gmail.com

1881


What are the main characteristics of database approach?

1029


What is a distributed database system?

934


What do you understand by the view and mention the steps to create, update and drop a view?

875


What are the various types of relationships in database? Define them.

895


What are the functions of rdbms?

996


What is cold backup (in case of oracle)?

948


Explain the difference between physical and logical data independence?

907


What is data modelling explain?

865