Quantcast
Channel: Transact-SQL forum
Viewing all articles
Browse latest Browse all 23857

Data Presentation / Layout Problem

$
0
0

Hi,

I'm trying to put together a SQL Query which will produce the data in the following layout:


CustomerDateQuantityVolumeDateQuantityVolume
Customer 1Jan 123344322232Jan 1322334323355
Customer 1Feb 123334855383874Feb 13222988475
Customer 2Jan 122289383384Jan 139989898
Customer 2Feb 123384729283Feb 13223221

This will allow our Sales team to quickly see the differences between each month by year.

Our Sales Table looks like this:

AccountID
AccountName
DateofSale
Quantity
Volumne

If someone could help me it would be greatly appreciated.

Thanks!!


Viewing all articles
Browse latest Browse all 23857

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>