If statement help

here is my mysql query so far and it says i have a syntax error near the if statement:

SELECT * FROM questions WHERE questionid <> email
IF questionid = email

Basically its meant to select all the questions that the email is not linked to (or viewed)

any ideas i’ve been checking the refrence manual on www.mysql.com version 5.1 but its all confusing to me :frowning: