I have this mysql code witch is working very well
SELECT uid , MAX(value) AS bidvalue FROM auction
WHERE pid = '$pid' and max_bid=0
GROUP BY uid
ORDER BY bidvalue DESC
LIMIT 1
How can I join this selection with users table ON users.id=auction.uid?
Thank you
You may use join for that your query might look like
or
with the joins details as per your need