Jump to content

[SOLVED] Sorting a DB query


hossfly007

Recommended Posts

I really dont know how to explain this but i will try my best.

 

TABLE PEOPLE

>id

>date

>name

>points

 

I am collecting data weekly on around 10 people. They get points every week. I am know how to make a DB query to sum the total of points that a person has made. But i'm not able to sort it with the highest points down to the lowest. Could someone help me? I have no idea where to start on coding this.

Link to comment
https://forums.phpfreaks.com/topic/48969-solved-sorting-a-db-query/
Share on other sites

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.