code: public String getTableName(int column) throws SQLException {
  
          checkColumn(column);
  
          String name = resultMetaData.columns[--column].getTableNameString();
  
          return name == null ? ""
                              : name;
      }
docs: <!-- start generic documentation -->
  Gets the designated column's table name.
  
  <!-- end generic documentation -->
  @param column the first column is 1, the second is 2, ...
  @return table name or "" if not applicable
  @exception SQLException if a database access error occurs