Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6960883
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T15:27:31+00:00 2026-05-27T15:27:31+00:00

Yep there are many similar questions, but I really couldn’t solve my problem. Unfortunately

  • 0

Yep there are many similar questions, but I really couldn’t solve my problem. Unfortunately I don’t have enough knowladge to understand that similar question’s answers to solve mine ^^.

I have id, name, score , ip variables. I don’t care about id or ip variables..

My query like this;

$query = "SELECT * FROM highscores ORDER BY score + 0 DESC LIMIT 10";
$result = mysql_query($query);

This gives higscore table but, there are same user’s different scores. I want to show highest score per user.

I don’t even know why there is + 0 on my code. And why if I delete it table doesn’t show as desc.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T15:27:32+00:00Added an answer on May 27, 2026 at 3:27 pm

    The following query will give you the name of each player and his best score :

    SELECT name, MAX(score) FROM highscores GROUP BY name ORDER BY MAX(score) DESC LIMIT 10
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Yep. This question came up looking at Code Igniter but it is not really
I have some HTML like this (yep, it's a bit weird, but it's an
In other words, I have a string like: anything, escaped double-quotes: \, yep anything
In jsfiddle.net , I have this simple code: console.log('yep'); alert('hello'); I can see the
NOTE: using jQuery 1.3.2 (Yep I'm upgrading but still need to be at 1.3.2
I'm not that cocky to believe Doctrine 2 is broken, but I couldn't actually
yep I am the one who started to use EMACS but not willing to
PostgreSQL 7.4 (Yep upgrading) So in my WHERE condition I have this AND CASE
yep, it sounds like an unholy alliance but I need to configure how to
I have the following T-SQL if statement: if @changeType = 'ChangeFrom' begin print 'yep'

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.