For example: There are two tables DLB (login table) and XSB (student table)
Requirement: Set the XH column of XSB as the primary key, and the XH column of DLB as the foreign key.
Operation: interface type: select one of the tables, right-click to design, select XH, right-click → relationship
→ Add at the bottom left
On the right, the table and column specification can set the primary key and foreign key!