code: public static PreparedStatement createNodeMemberTable(Connection connection, String nodeMemberTable) throws SQLException {
          try (Statement stmt = connection.createStatement()) {
              StringBuilder sb = new StringBuilder("CREATE TABLE ");
              sb.append(nodeMemberTable);
              sb.append("(ID_RELATION BIGINT,ID_NODE BIGINT, ROLE VARCHAR, NODE_ORDER INT);");
              stmt.execute(sb.toString());
          }
          return connection.prepareStatement("INSERT INTO " + nodeMemberTable + " VALUES ( ?,?,?,?);");
      }
docs: Create the node members table
  
  @param connection
  @param nodeMemberTable
  @return
  @throws SQLException