Select VR.ReportID, VR.Name,
VR.Category, VR.Comment,
VR.SQLQuery From v_Report VR
Join v_ReportParameter RP
on VR.ReportID = RP.ReportID
VR.Category, VR.Comment,
VR.SQLQuery From v_Report VR
Join v_ReportParameter RP
on VR.ReportID = RP.ReportID