Quantcast
Channel: Sql server SubQuery
Viewing all articles
Browse latest Browse all 4

Sql server SubQuery

0
0

Hi ,

I have table with below format.


VPIDVALUE
10.95
10.895
10.96
10.96
10.94
10.95
10.945
10.955
10.955
10.96
20.486
20.486
20.486
20.486
20.486
20.486
20.486
20.486
20.486
20.486
30.37
30.325
30.375
30.395
30.36
30.38
30.365
30.37
30.365
30.37
40.105
40.105
40.1
40.095
40.085
40.095
40.08
40.1
40.095
40.095

I want to display the above table as


wt1wt2wt3wt4
0.950.4860.370.105
0.8950.4860.3250.105
0.960.4860.3750.1
0.960.4860.3950.095
0.940.4860.360.085
0.950.4860.380.095
0.9450.4860.3650.08
0.9550.4860.370.1
0.9550.4860.3650.095
0.960.4860.370.095

Where wt1 is the values of VPID 1 and wt2 is VPID 2 etc....

Any Suggestions ?


raghu


Viewing all articles
Browse latest Browse all 4

Latest Images

Trending Articles





Latest Images