Zargo
Programmer
- Mar 21, 2005
- 109
Hi all,
I have a table with the following content:
TABLEA
T1 | T2 | T3
123 1231243 GHAL
123 0003423 0001
123 3242342 0002
488 2342344 0001
456 3333444 0001
456 6526545 GHAL
I want to to order this table by T1 and T3, but the order of the T3 must be:
0001
0002
GHAL
When i try order by t1, t4 asc
Then i will get:
GHAL
0001
0002
And when doig order by t1, t4 desc, i'll get:
0002
0001
GHAL
How can i order this table to get the following order on t3:
0001
0002
GHAL
I have a table with the following content:
TABLEA
T1 | T2 | T3
123 1231243 GHAL
123 0003423 0001
123 3242342 0002
488 2342344 0001
456 3333444 0001
456 6526545 GHAL
I want to to order this table by T1 and T3, but the order of the T3 must be:
0001
0002
GHAL
When i try order by t1, t4 asc
Then i will get:
GHAL
0001
0002
And when doig order by t1, t4 desc, i'll get:
0002
0001
GHAL
How can i order this table to get the following order on t3:
0001
0002
GHAL