This is my mySQL query :
SELECT mCat,postSta
FROM `info_posts`
WHERE `mCat` = 'Mobiles' AND `sCat` = 'Mobile Phones' AND `brCat` = 'Apple' AND `postSta` = 1 OR `postSta` = 4 OR `postSta` = 5
The problem with this is that it selects all the criteria properly however it also fetches the things where postSta = 4 and 5 take a look at the screenshot. I want to select things which match the criteria of mCat,sCat and brCat where postSta is 1 or 4 or 5.