MySQL 窄表转宽表

1.右侧的pid保证是同一个人的属性

2. 有一个方法  max('name',null)  输出是一个字符串 , 这样间接去掉了null

原文地址:https://www.cnblogs.com/alpha-cat/p/12094504.html