I have a query below which is used to make a view. This query pulls the latest record of the report_id. 1 report_id can have multiple unique report_info_id