Hi
I have search very hard and tried almost every transpose sql queries but i not getting it so i am asking for some help here.
This is my Table
I want to be able to extract the following in the following format meaning in the tranpose form so i can used it in the reports so that it will not occupy too much space.
Any help would be much apprciated i hope i explain it if you need any more details please ask i will be here all night
Ritchie
I have search very hard and tried almost every transpose sql queries but i not getting it so i am asking for some help here.
This is my Table
Code:
AdioDTlID MMID DOAudioData Frequency RightEar LeftEar
1 20 04-Apr-10 0.50 10 12
2 20 04-Apr-10 1.00 10 10
3 20 04-Apr-10 2.00 0 10
4 20 04-Apr-10 3.00 10 10
5 20 04-Apr-10 4.00 20 15
6 20 04-Apr-10 6.00 5 50
7 20 04-Apr-10 8.00 15 60
8 20 05-Apr-10 0.50 12 12
9 20 05-Apr-10 1.00 10 12
10 20 05-Apr-10 2.00 10 12
11 20 05-Apr-10 3.00 10 12
12 20 04-Apr-10 0.50 10 12
13 20 04-Apr-10 1.00 10 10
14 20 04-Apr-10 2.00 0 10
15 20 04-Apr-10 3.00 10 10
16 20 04-Apr-10 4.00 20 15
17 20 04-Apr-10 6.00 5 50
18 20 04-Apr-10 8.00 15 60
Code:
Frequency 0.50 1.00 2.00 3.00 4.00 6.00 8.00
RightEar 10 10 0 10 20 5 15
LeftEar 12 10 10 10 15 50 60
Group By MMID, DOAudioData
Ritchie