mysql - Finding unique emails across two tables -
i have 2 tables 1 each email address. want emails table a
not in table b
.
here query, seems hanging. must have missed something..
select c.field_23_4306 email, c.field_25_9341, c.field_26_1838, c.field_40_7355 form_7 c left join bounceback b on c.field_23_4306 = b.email c.field_23_4306 "%@%"
what did wrong?
select a.mail not exists (select 1 b a.mail = b.mail)
Comments
Post a Comment