“Missing columns in relationship” when creating table
问题 I have tried to create three tables(CUSTOMERS, VEHICLES and RENTALS), the third table (RENTALS) has foreign keys referring to the two primary keys of the first two tables (CUSTOMERS and RENTALS). When creating this third table I get an error Missing columns in relationship(Rel=CUSTOMERS[[]] -> RENTALS[[]]) Here's my codes private void createTables() throws SQLException { Statement statement = conn.createStatement(); statement.executeUpdate("CREATE TABLE CUSTOMERS(custNumber AUTOINCREMENT