我有一张这样的桌子
col_name col_white col_red col_brown col_yellow col_one col_two ....
col_white 1
col_red 4
col_two 12
....
我必须做一个选择才能得到这个结果:
col_name col_value
col_white 1
col_red 4
col_two 12
列数是动态的。我该怎么做?
谢谢