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 |
|
AskSQLTeam
Ask SQLTeam Question
0 Posts |
Posted - 2006-10-17 : 07:52:24
|
George writes "Hi,I have the following data:Table Data:Stage Bank AmountApplication LLB 5000Offer LLB 1000Offer Prime 2000Offer Prime 2000Application Prime 1000Application LLB 2000 and I want to produce the following report by running a query against the tableReport Structure:Application LLB PrimeNumber of Cases 2 1Amount 7000 1000 I want to see the ‘number of cases’ and ‘Amount’ in the same column.How do I go about it? Thanks" |
|
|
Antonio
Posting Yak Master
168 Posts |
Posted - 2006-10-17 : 08:38:42
|
quote: Originally posted by AskSQLTeam George writes "Hi,I have the following data:Table Data:Stage Bank AmountApplication LLB 5000Offer LLB 1000Offer Prime 2000Offer Prime 2000Application Prime 1000Application LLB 2000 and I want to produce the following report by running a query against the tableReport Structure:Application LLB PrimeNumber of Cases 2 1Amount 7000 1000 I want to see the ‘number of cases’ and ‘Amount’ in the same column.How do I go about it? Thanks"
Refer to the following article for further help :[url]http://www.sqlteam.com/item.asp?ItemID=2955[/url]_________________________________________________________________________________________________________________________Inability is a disaster; patience is bravery; abstinence is a treasure, self-restraint is a shield; and the best companion is submission to Divine Will. |
 |
|
|
madhivanan
Premature Yak Congratulator
22864 Posts |
Posted - 2006-10-21 : 08:39:46
|
| Also read about Cross-tab Reports in sql server help fileMadhivananFailing to plan is Planning to fail |
 |
|
|
|
|
|