table one:
field one field two
1 1-1
2 1-2
3 1-5
4 1-3
4 1-6
4 1-2
5 1-0
using the sql command to get the results as the following table.
field one field two
5 1-0
1 1-1
2 1-2
4 1-2
4 1-3
4 1-6
3 1-5
ps: the condition is selecting field two order by asc . but if the result have the same field one.then put the field two together. and asc them.
group byfield oneandorder byfield two?doesn't that work?Or vice versa?