$rows = $table->fetchAll( $table->select() ->where('bug_status = ?', 'NEW') ->order('bug_id ASC') ->limit(10, 0) );