我只想对每个ID的前3行和最后两行进行文本group_concat,如下所示: 1001 Line 1 Text Line 2 Text Line 3 TextSELECT ID, GROUP_CONCAT(Text SEPARATOR ' ') AS textConcat GROUP BY ID
如果我只想提取前3
我有一个players表,定义如下:-------------+-----------------------------+-----------+----------+-------------------------------------
id | integer | | not null | nextval('playe