📞 0339-0387701 (WhatsApp)
Contact
☰
🔍
Home
Important MCQs
Computer
Current Affairs
Data Science & AI (NCCIA)
Database & Data Handling (NCCIA)
English
Everyday Science
General Knowledge
General Science
Information & Networking (NCCIA)
Islamic Studies MCQs
Maths MCQs
Pak Study
Pedagogy
Software Engineering (NCCIA)
Telecom / Electrical Fundamentals (NCCIA)
Urdu MCQs
Past Papers
ASF Past Papers
FIA Past Papers
FPSC Past Papers
NCCIA Past Papers
NTS Past Papers
PPSC Past Papers
Latest Jobs
Army Jobs
Education Department
Federal Govt Jobs
Health Department
Police Jobs
Sindh Govt Jobs
Resources
About Us
Contact
🔍
Home
» Which constraint links a column in one table to the primary key of another table?
« Back to Database & Data Handling (NCCIA)
Which constraint links a column in one table to the primary key of another table?
A. UNIQUE
B. DEFAULT
C. FOREIGN KEY ✅
D. CHECK
Correct Answer:
C. FOREIGN KEY
Explanation
A foreign key creates a link between tables and enforces referential integrity.
It must match an existing primary key value or be NULL.
« A table can have how many PRIMARY KEY constraints?
What happens if you try to insert a child row… »
Related MCQs
If the entity set Employee has attributes EmpID, Name and Salary, how many attributes does it have?
What is an insertion anomaly?
Which key is used to create a relationship between two tables?
Which of the following is true about DML statements in most systems?
What does NO ACTION mean as a referential action in most SQL systems?
What does the expression NULL = NULL return in SQL?
In a M:N relationship, how many foreign keys does the junction table contain?
If a Student table has 5 columns and 100 rows, its degree and cardinality are: