📢 Too many exams? Don’t know which one suits you best? Book Your Free Expert 👉 call Now!


    Question

    In a relational database, what is a foreign key?

    A A key that uniquely identifies a row in its own table Correct Answer Incorrect Answer
    B A key that references a primary key in another table Correct Answer Incorrect Answer
    C A key used for sorting Correct Answer Incorrect Answer
    D A key used for indexing only Correct Answer Incorrect Answer
    E A key storing encrypted values Correct Answer Incorrect Answer

    Solution

    Foreign keys maintain relationships between tables and enforce referential integrity.

    Practice Next
    ask-question