English

Why is a foreign key used in a database? - Accounts

Advertisements
Advertisements

Question

Why is a foreign key used in a database?

Very Short Answer
Advertisements

Solution

  • A foreign key is used to connect two tables in a database.
  • It preserves referential integrity, allowing only valid and existing values to be entered.
  • It helps with maintaining constant and accurate relationships between related records.
shaalaa.com
  Is there an error in this question or solution?
2025-2026 (March) Specimen Paper - Analysis of Financial Statements
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×