Skip to content

Add primary key

To add a primary key to a table:

  1. Open the tab Columns by double clicking on the table.
  2. Put a check mark in the box under P, next to the chosen attribute. The P stands for primary key. The box for M is also automatically checked. This means that the attribute is mandatory and needs to be filled.
    Add a primary Key
  3. If the primary key consists of multiple attributes, put a check mark under the P next to these attributes.
    Add a composite primary key