Forum Replies Created

Viewing post 1 (of 1 total)

  • RE: How to order by in this case?

    antonio.collins (3/7/2008)


    here's one solution:

    select A.username, A.id

    from your_table as A

    join (select username, max(id) as max_id

    from your_table...

Viewing post 1 (of 1 total)