Question

    In a relational database, a foreign key is used to:

    A Ensure data integrity Correct Answer Incorrect Answer
    B Create a link between tables Correct Answer Incorrect Answer
    C Establish a primary key Correct Answer Incorrect Answer
    D Perform complex queries Correct Answer Incorrect Answer
    E None of these Correct Answer Incorrect Answer

    Solution

    A foreign key is used to create a link between two tables by referencing the primary key of another table, establishing a relationship.

    Practice Next