Jump to content

[SOLVED] I'm not sure if this can be done.. but...


woolyg

Recommended Posts

Hi all,

 

I've got a table that logs points assigned to a player, and each player belongs to a league. Please see the image below for the layout:

 

mysql.jpg

 

What I want to do is select every player_id from the table, but order them according to the sum total of the points they have accumulated for league_id 1.

 

Can this be done? I've been banging my head off this for days...

 

Thanks,

Woolyg

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.