Just like in SQL, you can use datasets inside other datasets.
In SQL, datasets that return a single row and a single column can be used as a scalar, and the same is true in Sequel.
In this example, you want the first row that has a number greater than the average number for the table.