Just messed up on my answer - should have indicated ORDER BY DESC, not ASC.
Sorry about that.
V
"bart3r" wrote in message
> Hello,
>
> I have a table of transactions for users.
>
> I want to return the last transaction for each user. What would the
> mysql statement be?
> What if i wanted to return the last 3 transactions for each user?
>
> Any help would be great.
> Thanks.
> Andrew. >> Stay informed about: SQL query - please help!