docs: public ResultSet getExportedKeys(String catalog, String schema, String table)
        throws SQLException {
      if (table == null) {
        throw new SQLException("'table' parameter in getExportedKeys cannot be null");
      }
      String sql =
          "SELECT KCU.REFERENCED_TABLE_SCHEMA PKTABLE_CAT, NULL PKTABLE_SCHEM,  KCU.REFERENCED_TABLE_NAME PKTABLE_NAME,"
              + " KCU.REFERENCED_COLUMN_NAME PKCOLUMN_NAME, KCU.TABLE_SCHEMA FKTABLE_CAT, NULL FKTABLE_SCHEM, "
              + " KCU.TABLE_NAME FKTABLE_NAME, KCU.COLUMN_NAME FKCOLUMN_NAME, KCU.POSITION_IN_UNIQUE_CONSTRAINT KEY_SEQ,"
              + " CASE update_rule "
              + "   WHEN 'RESTRICT' THEN 1"
              + "   WHEN 'NO ACTION' THEN 3"
              + "   WHEN 'CASCADE' THEN 0"
              + "   WHEN 'SET NULL' THEN 2"
              + "   WHEN 'SET DEFAULT' THEN 4"
              + " END UPDATE_RULE,"
              + " CASE DELETE_RULE"
              + "  WHEN 'RESTRICT' THEN 1"
              + "  WHEN 'NO ACTION' THEN 3"
              + "  WHEN 'CASCADE' THEN 0"
              + "  WHEN 'SET NULL' THEN 2"
              + "  WHEN 'SET DEFAULT' THEN 4"
              + " END DELETE_RULE,"
              + " RC.CONSTRAINT_NAME FK_NAME,"
              + " NULL PK_NAME,"
              + importedKeyNotDeferrable + " DEFERRABILITY"
              + " FROM INFORMATION_SCHEMA.KEY_COLUMN_USAGE KCU"
              + " INNER JOIN INFORMATION_SCHEMA.REFERENTIAL_CONSTRAINTS RC"
              + " ON KCU.CONSTRAINT_SCHEMA = RC.CONSTRAINT_SCHEMA"
              + " AND KCU.CONSTRAINT_NAME = RC.CONSTRAINT_NAME"
              + " WHERE "
              + catalogCond("KCU.REFERENCED_TABLE_SCHEMA", catalog)
              + " AND "
              + " KCU.REFERENCED_TABLE_NAME = " + escapeQuote(table)
              + " ORDER BY FKTABLE_CAT, FKTABLE_SCHEM, FKTABLE_NAME, KEY_SEQ";
  
      return executeQuery(sql);
    }