I have two tables with phone numbers.
I want check if there is new rows in addresbook table that not exist in users table.
As I am newbie with SQL, is this query correct?
SELECT *
FROM addressbook
WHERE NOT EXISTS (
SELECT Phone1
FROM users
WHERE addressbook.phone = users.phone1
)
EDIT: I user MySQL with PHPMyAdmin Interface, sorry for not to specify before