SELECT mdCD.* FROM mdCatalogoDatos mdCD, mdArchivos mdA WHERE mdA.tipo ='html' AND mdA.idCatalogoDatos = mdCD.idCatalogoDatos