我有一个专栏,如下所示
id | Text
1 | English text1
2 | English text2
3 | English text3
4 | English text4
5 | French text1
6 | French text2
7 | French text3
8 | French text4
9 | Arabic text1
10 | Arabic text2
11 | Arabic text3
12 | Arabic text4
等等..
我想做这样的
id | EngText FreText ArbText
1 | English text1 French text1 Arabic text1
2 | English text2 French text2 Arabic text2
3 | English text3 French text3 Arabic text3
4 | English text4 French text4 Arabic text4
如果可能,使用phpMyAdmin或MySQL查询.通过检测文本语言或ID的数量,其中每4行将在不同的列中.
我只是以4为例,但实际上它们比每种语言都有相同行数的情况更多.
谢谢