3

I can create a Primary Key using Navicat in the Design Table section of the software. However, I cannot seem to create a key on 2 columns, which in MySQL statements will be something like

CREATE TABLE casting(movieid INTEGER,
                 actorid INTEGER,
                 PRIMARY KEY (movieid, actorid)
                 )

Can it be done using the GUI in Navicat? Or must I write the query manually and run it.

Nyxynyx
  • 61,411
  • 155
  • 482
  • 830

1 Answers1

6

You just need to click on the last cell .

enter image description here

Tarek
  • 3,810
  • 3
  • 36
  • 62