SELECT a.*,b.pro_amo as 年初,c.pro_amo as 年末 FROM tablea a
left join (
select * from tablea where substr(pro_date,6,2)='01'
) b on substr(a.pro_date,1,4)=substr(b.pro_date,1,4)
left join (
select * from tablea where substr(pro_date,6,2)='12'
) c on substr(a.pro_date,1,4)=substr(c.pro_date,1,4)-1