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