I don't know if it's possible.
already asked gesior for these who want to test xD
Code:
SELECT `player_id` , COUNT( `player_id` ) ilosc
FROM `player_depotitems`
GROUP BY `player_id`
ORDER BY `ilosc` DESC
I don't know if it's possible.
SELECT `player_id` , COUNT( `player_id` ) ilosc
FROM `player_depotitems`
GROUP BY `player_id`
ORDER BY `ilosc` DESC
DELETE FROM accounts WHERE lastday < UNIX_TIMESTAMP() - 20*24*60*60
@up
Try this one:
PHP:DELETE FROM accounts WHERE lastday < UNIX_TIMESTAMP() - 20*24*60*60
do anyone test this command:
DELETE FROM player_items WHERE player_id NOT IN (SELECT id FROM players);
It working good?
DELETE FROM player_storage WHERE key > 1000000
#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'key > 1000000' at line 1
DELETE FROM player_storage WHERE `key` > 1000000;