Hello I am bit of a newb when it comes to mysql I running a query and I am getting the following error, to my knowledge the query syntax is correct (obvioulsy not though) this is the error that I am getting,
#1064 - You have an error in your SQL syntax; check the manual that corresponds to your
MySQL server version for the right syntax to use near 'FAIL' AND `mc_subscriber.email` =
`mc_user.email`' at line 1
my mysql looks like this,
SELECT `mc_subscriber.email`, `mc_user.firstname`, `mc_user.lastname` FROM `subscriber`, `user` WHERE `mc_subscriber.status` = 'SUBSCRIBED` AND `mc_subscriber.status_mx` IS NOT = 'FAIL' AND `mc_subscriber.email` = `mc_user.email`;
I think I may be using IS NOT wrong, I trying to add a condtion that looks for all row where the mx_status is not equal to fail.