code: private ResultSet executeSelect(String table,
                                      String where) throws SQLException {
  
          String select = selstar + table;
  
          if (where != null) {
              select += " WHERE " + where;
          }
  
          return execute(select);
      }
docs: An SQL statement executor that knows how to create a "SELECT
  * FROM" statement, given a table name and a <em>where</em> clause.<p>
  
  If the <em>where</em> clause is null, it is ommited.  <p>
  
  It is assumed that the table name is non-null, since this is a private
  method.  No check is performed. <p>
  
  @return the result of executing "SELECT * FROM " + table " " + where
  @param table the name of a table to "select * from"
  @param where the where condition for the select
  @throws SQLException if database error occurs