/**
  * Creates a SELECT command for a single table.
  * Override parent implementation to check if an orderby clause if specified when querying with an offset
  * @param TDbTableSchema the table metadata
  * @param TDbCriteria the query criteria
  * @return TDbCommand query command.
  */
 public function createFindCommand($table, $criteria)
 {
     $criteria = $this->checkCriteria($table, $criteria);
     return parent::createFindCommand($table, $criteria);
 }