SELECT * FROM subgrupoart WHERE cod_grupoart = '00005'AND COD_SUBGRUPO like '020%' AND `COD_GRUPOART` in (select grupo from articulos where `MARCA`='00600') AND `COD_SUBGRUPO` in (select subgrupo from articulos where `MARCA`='00600') AND `COD_SUBGRUPO` in (select subgrupo from articulos where `GRUPO`='00005')
SELECT DISTINCT modelo FROM articulos WHERE `MARCA`='00600' AND grupo = '00005' AND subgrupo like '020%'
3
SELECT * FROM imagenes WHERE NUM_FOTO='02' AND tabla = 'SUBGRUPOART' AND clave = '00005|02001'
CALENTADORES A GAS ESTANCOS

CALENTADORES A GAS ESTANCOS

SELECT DISTINCT modelo FROM articulos WHERE `MARCA`='00600' AND grupo = '00005' AND subgrupo like '020%'
3
SELECT * FROM imagenes WHERE NUM_FOTO='02' AND tabla = 'SUBGRUPOART' AND clave = '00005|02002'
ACCESORIOS CALENTADORES

ACCESORIOS CALENTADORES

SELECT DISTINCT modelo FROM articulos WHERE `MARCA`='00600' AND grupo = '00005' AND subgrupo like '020%'
3
SELECT * FROM imagenes WHERE NUM_FOTO='02' AND tabla = 'SUBGRUPOART' AND clave = '00005|02003'
CALENTADORES ATMOSFÉRICOS (TIRO FORZADO-NATURAL-BAJO NOX)

CALENTADORES ATMOSFÉRICOS (TIRO FORZADO-NATURAL-BAJO NOX)