Hi, Maybe you could ask at StackOverflow? It sounds like a generic SQL problem, not related to H2. It sounds like an interesting problem, there is a very good chance that people will help you there.
Regards, Thomas On Mon, Jun 4, 2012 at 11:32 PM, Dani <[email protected]> wrote: > Thank you Thomas for looking into this. > > I was affraid it could be something like that. > So I will have to use version 1.3.165 for a while... > > Hm, I tried using TOP x and Max() functions but those won't get me > there. > > I need the last and the second last date for every ID > where the last date can be different for every ID! > > Maybe anyone else can think of an approach? > > Thanks again > > -- > You received this message because you are subscribed to the Google Groups "H2 > Database" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/h2-database?hl=en. > -- You received this message because you are subscribed to the Google Groups "H2 Database" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/h2-database?hl=en.
