Re: String aggregator

2009-08-24 Thread Chris Withers
hyuen wrote: > When I use aggregators, I do something like > > T.aggregate(Max('LastName')) > > but the problem is that for aggregators, it expects a float, not a > string. Is it possible to use strings as maximum/minimum values? Where are you importing Max from? What is the error and

String aggregator

2009-08-15 Thread hyuen
Hi all, I am trying to use aggregators for non-numeric types, say I have a table that looks like FirstName, LastName John Doe John Smith I want to do something like: select FirstName, max(LastName) from T group by FirstName When I use aggregators, I do something like