Skip to main content
July 7, 2008
Question

Ranking

  • July 7, 2008
  • 12 replies
  • 877 views
This shouldn't be hard but I am stuck. I am running a query that adds the number of rows a person has added to three different tables. What I want to do with that query is determine where that total is in relation to all other users that have added rows. So lets say I've added 1 row to each table and I total 3 rows. That ranks me #3 out of 10 total users.

How would I end up with that ranking? I've gotten as far as the totalling part.
    This topic has been closed for replies.

    12 replies

    July 8, 2008
    Honestly I don't know. It's a MySQL 5 database.
    Inspiring
    July 7, 2008
    Does your db have a rank function?