gpt4 book ai didi

mysql - 将mysql表从垂直转换为水平

转载 作者:行者123 更新时间:2023-11-29 23:08:18 26 4
gpt4 key购买 nike

我想在mysql中做这样的事情

我有一张 table

id   key               value 
001 connection_days 2
001 seniority A
002 connection_days 15
002 seniority A++
....

我想基于此创建一个表格,例如

id  connection_days  seniority
001 2 A
002 15 A++

有谁知道如何实现这一点吗?谢谢

最佳答案

请看一下这个问题。已经回答了。

Displaying Rows of HTML Elements in Vertical Rows

祝你有美好的一天!

关于mysql - 将mysql表从垂直转换为水平,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/28192780/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com