When you create a new block with the Data Block wizard, you can use the wizard's Master-Detail page to create a master-detail relation. See Data Block Wizard: Master-Detail page
Related topics
Data Block Wizard: Welcome page
Specifying the join condition for a master-detail relation