> > Er ... your example doesn't actually seem to involve greatest() or> least()?>
So sorry, it's been a long day, I misread. Yes, greatest/least definitelydoes work on Oracle as the OP said. Apologies again.