select * from XMSM_Prac_Quality_Link left join XMSM_Quality_Measures_Table using Quality_Measure_Id where prackey = 'G40127074012708'Sorry - we have no quality rating match