Jump to content

[SOLVED] Top 10 mysql query


sean14592

Recommended Posts

Hello.

 

How do I do a mysql query to return the top 10 results ordered by points.

 

For example my database looks like this:

 

User  |  Points

1      |  10

2      |  45

3      |    0

4      |  10

5      |  45

6      |    0

7      |  10

8      |  45

9      |    0

 

So i basically want a leaderboard showing the top 10 users.

 

Cheers

Sean

Link to comment
https://forums.phpfreaks.com/topic/141944-solved-top-10-mysql-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.