G
Gogzilla
Hi All
I have the data as the below table
Id Topic A Topic B
1 AA A
1 ZZ Z
2 BB C
2 YY D
3 CC H
3 CC V
4 DD G
4 DD Y
5 GG P
5 GG W
But my id field is duplicate, i would like to write the SQL statement for
selecting the data as the following results (order by Alphabet in both of
Topic A and Topic B)
Id Topic A Topic B
1 AA A
2 BB C
3 CC H
4 DD G
5 GG P
How can i write the SQL statement for solving this problem?
Thanks
Gogzilla
I have the data as the below table
Id Topic A Topic B
1 AA A
1 ZZ Z
2 BB C
2 YY D
3 CC H
3 CC V
4 DD G
4 DD Y
5 GG P
5 GG W
But my id field is duplicate, i would like to write the SQL statement for
selecting the data as the following results (order by Alphabet in both of
Topic A and Topic B)
Id Topic A Topic B
1 AA A
2 BB C
3 CC H
4 DD G
5 GG P
How can i write the SQL statement for solving this problem?
Thanks
Gogzilla