I have the following mysql query:
SELECT * FROM `notifications`
WHERE `receiverUserID` = 3 AND `status` = 0 AND `typ` = 1 OR `typ` = 2
the result:
But my query is not correct. The result should show me only data where typ = 1 OR 2, status = 0 and the receiverUserID = 3
the row where receiverUserID = 2 should not be shown. Where is my mistake ?

WHERE `receiverUserID` = 3 AND `status` = 0 AND (`typ` = 1 OR `typ` = 2)receiverUserID = 3should also not be shown since it hasstatus = 1