ranking
how to get mysql ranking among results with same id
Quick question, I have a table of messages each with a timestamp and a reply_id and a topic_id. Reply_ids can be the same as others, which means those messages are in the same group of replies. When I[详细]
2023-01-17 19:41 分类:问答best practice for maintaining ranking tables?
Using MySQL and PHP, I have a simple ranking table with 2 columns user and score. Once a week, I re-run the ranking script and it computes scores for each user.[详细]
2023-01-16 22:13 分类:问答Sorting A List Of Songs By Popularity
For student council this year, I\'m on the \"songs\" committee, we pick the songs. Unfortunately, the kids at the dances always end up hating some of the stupid song choices. I thought I could make it[详细]
2023-01-16 04:58 分类:问答Ranking without ranking functions
I have written the following query so as to select the rank of each customer and show it with other information in the output.[详细]
2023-01-15 12:20 分类:问答calculate rank in highscore from 2 tables
i have a trivia game and i want to reward users for 2 events: 1) answering correctly 2) sending a question to the questions pool[详细]
2023-01-15 08:06 分类:问答What string similarity algorithms are there?
I need to compare 2 strings and calculate their similarity, to filter down a list of the most similar strings.[详细]
2023-01-13 00:19 分类:问答SQL Server 2000: Length of field in 1/3 (or 2/3) of the records
Is there a simpler/cleaner way to do this using SQL Server 2000? Every few days I need to do this. I first look at how many records we have total:[详细]
2023-01-12 14:33 分类:问答Optimize a rankings page using PHP and MySQL
I could really use some help optimizing a table on my website that is used to display rankings. I have been reading a lot on how to optimizequeries and how to properly use indexes but even after imple[详细]
2023-01-11 09:36 分类:问答How to mitigate against bandwagon effect (voting behavior) in my ranking system?
What I mean by bandwagon effect describes itself like so: Already top-ranked items have a higher tendency to get voted on at all, possibly even to get upvoted.[详细]
2023-01-10 03:29 分类:问答PHP MySQL Query most popular in last 24 hours
Say I wa开发者_运维知识库nt to get ten records with the MOST likes in the last 24 hours. Here\'s what I have so far:[详细]
2023-01-06 21:31 分类:问答