利用group by、having: select name,count(name) from job_flow_folder_rel group by job_flow_id having count(name)>1