1 row 2 column 3
A1 b1 c1
A1 b2 c3
A2 b2 c2
A2 b2 c1
The results
1 row 2 column 3
A1 b1 c1
Empty b2 c2
Empty empty c3
Above is the original data, to check out at the bottom of the draw results, not necessarily to sorting, just remove duplicate, every column results in SQL how to do