📞 0339-0387701 (WhatsApp) Contact

« Back to Database & Data Handling (NCCIA)

A foreign key column in a table with 100 rows can have how many distinct values?

A. At most 100, and duplicates are allowed, so it may have fewer ✅
B. Exactly 1
C. Exactly 100

Correct Answer: A. At most 100, and duplicates are allowed, so it may have fewer

Explanation

A foreign key need not be unique, so many rows may share the same parent value and the distinct count can be less than 100.