有一组数据是这样的,根据qujian 划分成三个 不同的情况
appid desciptions qujian nums
app_1 璐璐 fiveminute 9
app_1 璐璐 fiveToten 3
app _1 璐璐 lessfinveSecond 1
app_2 五五 fiveminute 4
app_3 柳柳 fivetoten 3
...
变成
appid desciptions lessfinveSecond fiveToten fiveminute
app_1 璐璐 1 3 9
app_2 五五 0 0 4
app_3 柳柳 0 3 0
...
谢谢各位大侠 帮助在下小弟啦。
你想表达的意思是什么?
是在数据库已有一个表,表里有数据:
appid desciptions qujian nums
app_1 璐璐 fiveminute 9
app_1 璐璐 fiveToten 3
app _1 璐璐 lessfinveSecond 1
app_2 五五 fiveminute 4
app_3 柳柳 fivetoten 3
然后你想新建一张表,把数据变成:
appid desciptions lessfinveSecond fiveToten fiveminute
app_1 璐璐 1 3 9
app_2 五五 0 0 4
app_3 柳柳 0 3 0
??