हिंदी

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

Advertisements
Advertisements

प्रश्न

Why is a foreign key used in a database?

अति संक्षिप्त उत्तर
Advertisements

उत्तर

  • 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
  क्या इस प्रश्न या उत्तर में कोई त्रुटि है?
2025-2026 (March) Specimen Paper - Analysis of Financial Statements
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×