Here is a way to get rid of these
Code:
SELECT DISTINCT account. * FROM account LEFT JOIN cq_user ON account.id = cq_user.account_id WHERE account.id = ( cq_user.account_id)
Once you got this
Export the new table into a sql file
Empty you old account table
Import this new sql file into your account table
Your done
Similar code to clean up items and eudemons for delete character
Code:
SELECT DISTINCT cq_item.* FROM cq_item LEFT JOIN cq_user ON cq_item.player_id = cq_user.id WHERE cq_item.player_id = ( cq_user.id) SELECT DISTINCT cq_eudemon. * FROM cq_eudemon LEFT JOIN cq_user ON cq_eudemon.player_id = cq_user.id WHERE cq_eudemon.player_id = ( cq_user.id)






