select 
	r.reporttyp,
	r.bez "reporttyp_bez",
	r2.report,
	r2.bez "report_bez",
	r3.repfile,
	r3.bez "repfile_bez",
	r3.xsl_datei 
from reporttyp r 
inner join report r2 on r.reporttyp = r2.reporttyp and r2.aktiv = 1
inner join repfile r3 on r2.reporttyp = r3.reporttyp and r2.report = r3.report and r3.xsl_datei is not null and r3.aktiv = 1 and r3.export = 0