SELECT DISTINCT estadistica.estadistica_id,
estadistica_nombre,
estadistica_fecha_fin,
estadistica_archivo,
soporte_pais.soporte_pais_id,
soporte_pais_nombre,
soporte_estadistica_tipo_nombre
FROM
estadistica
LEFT JOIN
estadistica_tipo
ON estadistica.estadistica_id = estadistica_tipo.estadistica_id
LEFT JOIN
soporte_estadistica_tipo
ON estadistica_tipo.soporte_estadistica_tipo_id = soporte_estadistica_tipo.soporte_estadistica_tipo_id
LEFT JOIN
estadistica_pais
ON estadistica.estadistica_id = estadistica_pais.estadistica_id
LEFT JOIN
soporte_pais
ON estadistica_pais.soporte_pais_id = soporte_pais.soporte_pais_id
LEFT JOIN
estadistica_producto_o_detalle
ON estadistica_producto_o_detalle.estadistica_id = estadistica.estadistica_id
WHERE
estadistica.estadistica_status='A' ORDER BY estadistica_nombre ASC