delete_status = 0  and car_type != 2 and  daily_price_status='1' and (car_make in (SELECT id FROM `make` WHERE `cartype` in  (21,4,8,25,21) or `cartype1` in   (21,4,8,25,21) or `cartype2` in   (21,4,8,25,21) or `cartype3` in   (21,4,8,25,21) ) or  car_type in (21,4,8,25,21)) and clients.emirate like  '%Sharjah%' and ( IF(`daily_price_offer` != '=', daily_price_offer >='800', daily_price >= 800) and daily_price!='0') and listings.client_id!=247