SyntaxFix
Write A Post
Hire A Developer
Questions
A.) The command is NOT EXISTS, you're missing the 'S'.
B.) Use NOT IN instead
SELECT ip FROM login_log WHERE ip NOT IN ( SELECT ip FROM ip_location ) ;