Skip to main content
krishnav9816
Known Participant
Jul 10, 2022 11:00 AM UTC
Question

whats difference between primary key and forigen key?

what is the difference between primary key and forigen key? how to do from two tables please explain?

    5 replies

    stefanhelzle0001
    Brainy
    Jul 10, 2022 11:46 AM UTC

    Let me google this for you: www.geeksforgeeks.org/.../

    krishnav9816
    Known Participant
    Jul 10, 2022 11:17 PM UTC

    how it will do in DB?

    gopalk2865
    Participating Frequently
    Jul 11, 2022 5:25 AM UTC

    have you gone through above link? it has been explained with an example.

    harshitb6843
    Brainy
    Jul 11, 2022 6:29 AM UTC

    The difference between Primary key and Foreign key is no different on Appian. 

    Participating Frequently
    Jul 11, 2022 9:33 AM UTC

    A primary key generally focuses on the uniqueness of the table Whereas foreign key is generally used to build a relationship between the two tables. Like we do in Appian Records Relationship.