delete_status = 0 and car_type != 2 and ul.client_id!=247 and  delete_status = 0  and  car_type != 2  and  daily_price_status='1' and (car_make in (SELECT id FROM `make` WHERE `cartype` in  (5) or `cartype1` in   (5) or `cartype2` in   (5) or `cartype3` in   (5) ) or  car_type in (5)) and ul.client_id in (select client_id from `clients` where emirate like  '%Nador%') and ul.client_id!=247and cl.emirate='Nador' and ul.delete_status = 0 and ul.publish_ocd = 1