* David Rio Deiros (driodeiros(at)gmail(dot)com) wrote:> Now I have to redefine my query because I want to get the second > output but keeping the group_id. Ideas and suggestions are welcome.
You might want to look at 'distinct on'.
Stephen