May 05, 2021 05:15 AM|yij sun|LINK
How do you design the sql table? What's result do you need?
I just only tell you that you need "pivot" according to your post to us currently. Could you post us more details?It will help us to solve your problems and give the codes you want.