title: How to create composite key?
body: <p>I am new to MySQL WB so I can create foreign key by adding relation between to dependen tables.</p>
  
  <p>But how to create a composite key?
  For example I have this table sql</p>
  
  <pre><code>CREATE TABLE TASKS
  (
   TEST_ID NUMBER(6) CONSTRAINT FK_TASKS_TESTS REFERENCES TESTS(TEST_ID),
   TASK_ID NUMBER(3),
   MAX_POINTS NUMBER,
   CONSTRAINT PK_TASKS PRIMARY KEY (TEST_ID, TASK_ID)
  );
  </code></pre>
  
  <p>Is there an option for this or it should be created otherwise?</p>