PHP & MySQL, joining tables
I have a table in my database with the following fields:
user_name
score
points
Some users have 30 scores and others have 5. What I want to do is create a recordset that will calculate the highest 15 points for each user. Then count the total scores (either 15 or less) and get an average points. The only way I have been able to figure anything out is by defining an exact user. I can't get it to calculate it for each users and create a list.
Any ideas?
