select id,max(姓名) as 姓名,max(地址) as 地址,max(邮编) as 邮编
 from tableA
 group by id