DistillPrep
Python
GenAI
GenAI Frameworks
NLP
Deep Learning
Machine Learning
ML Libraries
Statistics
SQL
MLOps
Cloud
System Design
Blog
Learn
Practice
Test
Live Engine
Select Topic
Easy
(39)
Medium
(39)
Hard
(39)
easy
Database Design And Normalization
What is the purpose of a FOREIGN KEY constraint?
A
To speed up JOIN queries between two tables
B
To enforce referential integrity — ensuring that a value in one table's column exists as a primary key in the referenced table
C
To prevent NULL values in the column
D
To create an index on the column automatically
Confirm Answer
Previous
Back
Next