using primary key and foreign key
We use (primary key or unique key) and foreign key to maintain relationship between two table.
Simply use primary key and foreign key relation ships in between tables