View Single Post

   
  #3 (permalink)  
Old 02-28-2008, 07:12 AM
Bart Friederichs
 
Posts: n/a
Default Re: Help for quite complex query.

Markus Popp wrote:
> Hi!
>
> If you use MySQL 4.1 upwards, you can do it with
>

select y from event where date = (select max(date) from event where
group=somegroup)

Is what you meant. And it will give a row per group.

Bart
Reply With Quote