20.02.2017, 11:41
(
Последний раз редактировалось Loinal; 21.02.2017 в 18:20.
)
Fixed
SELECT Username, Money FROM players GROUP BY Money DESC LIMIT 1;
SELECT Username, Money FROM players ORDER BY Money DESC LIMIT 1;
Its because you are just selecting ONE (limit 1) and first record(by default)...
So I think it must be: Код:
SELECT Username, Money FROM players GROUP BY Money DESC LIMIT 1; or Код:
SELECT Username, Money FROM players ORDER BY Money DESC LIMIT 1; |