18.03.2014, 04:42
You need to use the SQL join statement joining on a common field.
That will basically return the data from two tables where for example, the ID from the first is equal to the ID of the second. ****** for more information.
Код:
SELECT players.XP, players1.XP FROM players JOIN players1 ON players.ID = players1.ID ORDER BY XP DESC LIMIT 10