Mysql - How do I order results by alternating (1,2,3, 1, 2, 3, 1, 2, 3,) rows, is it possible?

后端 未结 5 1717
南旧
南旧 2020-12-10 20:48

I want to order my results by client 1, 2, 3, then again client 1, 2, 3, and so on.

Is there a way to do this without using a for loop or making three separate queri

5条回答
提交回复
热议问题