Dear SSCrazy,
I am very impressed by your solution, so i have been looking at it for quite a bit.
What i was wondering (but can't figure it out), if you insert two more rows:
insert into test (name, length) values ('stof13', 7)
insert into test (name, length) values ('stof13', 8)
when i run your solution, the 7 and 8 are in the second and third row. Could it be possible to get the 7 and 8 in row 1 and 2?
I hope you understand what i mean 🙂
Regards!