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`.`accounttype_id` = 10) AND (`customer_teaser`.`compania` LIKE CONCAT('H','%')) 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`.`accounttype_id` = 10) AND (`customer_teaser`.`compania` LIKE CONCAT('H','%')) 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,18;
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`.`accounttype_id` = 10) AND (`customer_teaser`.`compania` LIKE CONCAT('H','%')) 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`.`accounttype_id` = 10) AND (`customer_teaser`.`compania` LIKE CONCAT('H','%')) AND (`customer_teaser`.`autoferia` = 1) AND (`customer_teaser`.`id` NOT IN (17,680,1392)) ORDER BY CAST(`customer_teaser`.`local` AS DECIMAL) ASC
Local 22
HD Auto Import SRL
HD Auto Import SRL
(809) 597-2118 / (809) 756-5968
Carretera de Mendoza No. 27, (Entre La Carretera Mella y San Vicente), Alma Rosa I Santo Domingo Este, República Dominicana
MIEMBRO DE: