Define Keys in the Graphic Editor
Click and hold the left mouse button on the key - symbol of your desired key column in the Graphic Editor (here: num_id in the Activities Table) to establish a connection to the key of the other table (here: case_num_id), by moving the mouse to the key symbol.