select * from review_cd_status_table r
left join (select * from code_list_table
where import_date = (select max(import_date)
from code_list_table where project_id = '101')) c
on r.class_modual = c.file_name
and r.project_id = c.project_id
where r.cd_auchor = '丁宗镌' and r.project_id = '101'
and r.history_id = (select max(history_id)
from review_cd_status_table  where project_id = '101') group by r.class_modual;我想变成
select * from review_cd_status_table r
left join (select * from code_list_table
where import_date = (select max(import_date)
from code_list_table where project_id = '101')) c
on r.class_modual like %c.file_name
and r.project_id = c.project_id
where r.cd_auchor = '丁宗镌' and r.project_id = '101'
and r.history_id = (select max(history_id)
from review_cd_status_table  where project_id = '101') group by r.class_modual;应该怎么做