I'm using PHP and MySQL. I need to do a query:
DELETE FROM db1.players WHERE acc NOT IN (SELECT id FROM db2.accounts)
The problem is, that db1 and db2 are located on different servers. What is the fastest solution for such problem?
To be precise: I'm using 2 connections, so I think I can't use one query for it.