Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Select bid.id, bid.auction_id, bid_user_id, max(bid.created)
- FROM auction JOIN bid
- ON bid.auction_id = auction.id
- WHERE bid.user_id = 25 GROUP BY auction.id;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement