MySQL dynamic transpose/pivot of a table
问题 I've been trying to pivot a very sample table: TYPE | COUNT ___________________ 'CHAINS' | '38' 'INDEP' | '64' 'SUPER' | '25' Yup, it's that simple. I've been reading tutorials, Stackoverflow answers and I've been looking for a good tutorial about transposing a table. I just can't understand it very well and I haven't been able to accomplish the following result: CHAINS | INDEP | SUPER _______________________ 38 | 64 | 25 I know there are other questions similar to this one, but I just can't