Primary key & foreign key relations as Static & dynamic

Hi Every one ,please help me How can we establish Primary key & foreign key relations as Static & dynamic,for two or more tables