select pta_parttype2 from ptm_mstr where pta_parttype2 in ('五金','配线') group by pta_parttype2
group by 前面加
where ptm_parttype2 in ('五金','配线')