r0 := UnboundTable: airlines
  dest     string
  origin   string
  arrdelay int32

r1 := Filter[r0]
  InValues(value=r0.dest, options=['ORD', 'JFK', 'SFO'])

r2 := Aggregate[r1]
  groups:
    dest: r1.dest
  metrics:
    Mean(arrdelay): Mean(r1.arrdelay)

r3 := Sort[r2]
  desc r2['Mean(arrdelay)']

Limit[r3, n=10]