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('F','%')) 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('F','%')) AND (`customer_teaser`.`id` NOT IN (17,680,1392)) ORDER BY `customer_teaser`.`compania` ASC LIMIT 0,8;
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('F','%')) 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('F','%')) AND (`customer_teaser`.`id` NOT IN (17,680,1392)) ORDER BY `customer_teaser`.`compania` ASC
FORMANY AUTO IMPORT SRL
(829) 687-7756 / (809) 989-8256
Calle 3era No. 27, A 1 MINUTO DE REPUESTO DAT-COLT, ISABEL AGUIAR, Industrial Herrera Santo Domingo Oeste, República Dominicana
MIEMBRO DE: