Each node has a database with a table named request. Find the
number of requests in all databases.
[jao@zack]$ osh @jao \
[ sql 'select count(*) from request' ] ^ \
agg 0 'total, node, count: total + count' $
agg 0 'total, node, count: total + count':
, initializing it to
. Each input to agg has (node, count).
'total, node, count: total + count'
is the aggregation function.