delete_status = 0  and car_type != 2 and  daily_price_status='1' and (car_make in (SELECT id FROM `make` WHERE `cartype` in  (10) or `cartype1` in   (10) or `cartype2` in   (10) or `cartype3` in   (10) ) or  car_type in (10)) and clients.emirate like  '%Rabat%' and usedcar_listings.client_id!=247