To create a relationship, click the Relation icon as shown below, and then drag the mouse cursor from the parent to the child table. After selecting the tables, the relationship creation window will open, where you should enter the name of the foreign key and link the columns of both tables. Note that the related columns should be of the same type. An attempt to bind columns of different types will fail. The relationship is created after clicking the Apply button.