Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
Author |
Topic |
lkeeba
Starting Member
17 Posts |
Posted - 2007-05-27 : 04:10:02
|
How do I create a report with a select statement and the result set as follows :SELECT Code, Desc, Value FROM mytable ORDER BY DescCode Desc Value-----------------------B1110 Row1 2B1120 Row2 4B1130 Row3 5B1140 Row4 3C1110 Row1 1C1120 Row2 2C1130 Row3 9C1140 Row4 1D1110 Row1 4D1120 Row2 1D1130 Row3 3D1140 Row4 7I wish to create a report that looks like this (The values correspond to the codes):Desc Col1 Col2 Col3================================Row1 2 1 4row2 4 2 1Row3 5 9 3Row4 3 1 7 |
|
|
|
|