2009/3/25 Grzegorz Jaśkiewicz <gryzman(at)gmail(dot)com>:> least()> greatest().
Actually, these answer a different question, OP is interested in usingaggregate on composite type...
merlin