Hiiiii,
One of my friends advice me not to check primary/foreign keys if I need to know them for joining purpose, instead of them I can make join based on primary index.

my question is this info is right ?
also how I can do that based on the primary index ?