I guess my example is not clear.
table is: :
id - name - work -------------------------
1 - sina - programmer
2 - ali - programmer 3 - jack - graphist 4 - sina - graphist
i want to have below result that each column data is distinct.Suppose the columns in result table are independent:
id - name - work
------------------------- 1 - sina - graphist
2 - ali - programmer
3 - jack -
tanks
1 Answer