logo movil
logo movil
SELECT `customer_teaser`.*, (SELECT COUNT(1) AS total FROM ( SELECT `customer_teaser`.`id` FROM `fl_dealers_recomendados`, `customer_teaser` WHERE `customer_teaser`.`id` = `fl_dealers_recomendados`.`id_dealer` AND `customer_teaser`.`state` = 1 AND (`customer_teaser`.`ciudad_id` = '19') AND (`customer_teaser`.`accounttype_id` = 10) AND (`customer_teaser`.`autoferia` = 1) AND (`customer_teaser`.`id` NOT IN (17,680,1392)) ) AS Result) AS total FROM `fl_dealers_recomendados`, `customer_teaser` WHERE `customer_teaser`.`id` = `fl_dealers_recomendados`.`id_dealer` AND `customer_teaser`.`state` = 1 AND (`customer_teaser`.`ciudad_id` = '19') AND (`customer_teaser`.`accounttype_id` = 10) AND (`customer_teaser`.`autoferia` = 1) AND (`customer_teaser`.`id` NOT IN (17,680,1392)) ORDER BY CAST(`customer_teaser`.`local` AS DECIMAL) ASC LIMIT 0,6;
SELECT `customer_teaser`.*, (SELECT COUNT(1) AS total FROM ( SELECT `customer_teaser`.`id` FROM `fl_dealers_recomendados`, `customer_teaser` WHERE `customer_teaser`.`id` = `fl_dealers_recomendados`.`id_dealer` AND `customer_teaser`.`state` = 1 AND (`customer_teaser`.`ciudad_id` = '19') AND (`customer_teaser`.`accounttype_id` = 10) AND (`customer_teaser`.`autoferia` = 1) AND (`customer_teaser`.`id` NOT IN (17,680,1392)) ) AS Result) AS total FROM `fl_dealers_recomendados`, `customer_teaser` WHERE `customer_teaser`.`id` = `fl_dealers_recomendados`.`id_dealer` AND `customer_teaser`.`state` = 1 AND (`customer_teaser`.`ciudad_id` = '19') AND (`customer_teaser`.`accounttype_id` = 10) AND (`customer_teaser`.`autoferia` = 1) AND (`customer_teaser`.`id` NOT IN (17,680,1392)) ORDER BY CAST(`customer_teaser`.`local` AS DECIMAL) ASC

NO SE ENCONTRARON RESULTADOS EN LA BUSQUEDA, FAVOR DE INTENTAR NUEVAMENTE...