can any1 help me in writing a RDB schema for a ternary relationship like


the labels are 1 (SHIP), 1 (PORT) and N
(VISITS), and that the arcs are undoubled, undoubled and doubled,